Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001679, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 196.6 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 70.64 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004921/0.3564, allocations: 2.612 MB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3589, allocations: 1.496 MB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.359, allocations: 3.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007958/0.3598, allocations: 227.1 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.3602, allocations: 187.2 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.3606, allocations: 155.6 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.3609, allocations: 227.3 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.3613, allocations: 170.5 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3614, allocations: 95.62 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3617, allocations: 119.6 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.3617, allocations: 16 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.3621, allocations: 219.6 kB / 1.074 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.3622, allocations: 67.88 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.3623, allocations: 91.52 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.3627, allocations: 323.3 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3627, allocations: 7.938 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3627, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3627, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007461/0.3635, allocations: 487.2 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3635, allocations: 12.03 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.3641, allocations: 84.62 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.3644, allocations: 235.5 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3644, allocations: 8.703 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.3645, allocations: 20.38 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.365, allocations: 328.3 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.365, allocations: 3.984 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.365, allocations: 8 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.3651, allocations: 16.28 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.3655, allocations: 252.6 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3671, allocations: 1.634 MB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.3677, allocations: 415.2 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3679, allocations: 89.66 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.368, allocations: 81.11 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3681, allocations: 38.55 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3681, allocations: 3.938 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006662/0.3688, allocations: 308.8 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3688, allocations: 81.14 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.369, allocations: 173.2 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3691, allocations: 33.7 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.3691, allocations: 151.8 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.3692, allocations: 51.48 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.3693, allocations: 45.69 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3694, allocations: 326.8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3695, allocations: 92.75 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3697, allocations: 150.6 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.37, allocations: 245.2 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.37, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004095/0.3704, allocations: 277.2 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3705, allocations: 4 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3705, allocations: 4 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3705, allocations: 8.25 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3707, allocations: 59.89 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3708, allocations: 4 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3709, allocations: 15.98 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3709, allocations: 8 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001889/0.3711, allocations: 176.1 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001599/0.3713, allocations: 147.5 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002748/0.3716, allocations: 233.4 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.3716, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003579/0.372, allocations: 253.2 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.372, allocations: 8 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.372, allocations: 4.156 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.372, allocations: 7.984 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3722, allocations: 55.84 kB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3722, allocations: 7.984 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3723, allocations: 19.92 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3723, allocations: 8.344 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.3725, allocations: 192.2 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.3725, allocations: 15.81 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.3729, allocations: 211.7 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3729, allocations: 4 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3729, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3729, allocations: 0 / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3742, allocations: 0.969 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3742, allocations: 4 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3744, allocations: 35.91 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3744, allocations: 4 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3744, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3744, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3744, allocations: 12.31 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.3748, allocations: 432.8 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.3749, allocations: 108.9 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.375, allocations: 11.98 kB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3751, allocations: 12.03 kB / 1.082 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3752, allocations: 27.84 kB / 1.082 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3752, allocations: 11.94 kB / 1.082 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001109/0.3753, allocations: 132.2 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3753, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005207/0.3759, allocations: 75.98 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.376, allocations: 111.7 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.3765, allocations: 312.7 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3766, allocations: 0 / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3767, allocations: 80.2 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.3772, allocations: 40.47 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.378, allocations: 490.6 kB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3784, allocations: 0.7441 MB / 1.084 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000201/0.3786, allocations: 77.45 kB / 1.084 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.3787, allocations: 23.44 kB / 1.084 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.3787, allocations: 3.938 kB / 1.084 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of Templates: time 0.004891/0.3836, allocations: 1.807 MB / 1.086 GB, free: 7.09 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)