Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001376/0.001376, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005395, allocations: 15.59 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5629, allocations: 106.3 MB / 0.728 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003022/0.566, allocations: 2.227 MB / 0.7302 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.5682, allocations: 1.392 MB / 0.7315 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.5683, allocations: 4 kB / 0.7315 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.5684, allocations: 27.84 kB / 0.7315 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.5688, allocations: 123.5 kB / 0.7317 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.5691, allocations: 123.7 kB / 0.7318 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.5694, allocations: 123.7 kB / 0.7319 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.57, allocations: 309.2 kB / 0.7322 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.5701, allocations: 67.75 kB / 0.7323 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.5703, allocations: 71.75 kB / 0.7323 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.5703, allocations: 8 kB / 0.7323 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.5706, allocations: 123.8 kB / 0.7325 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.5707, allocations: 51.89 kB / 0.7325 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.5707, allocations: 61.58 kB / 0.7326 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.571, allocations: 233.5 kB / 0.7328 GB, free: 6.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.571, allocations: 0 / 0.7328 GB, free: 6.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5711, allocations: 3.938 kB / 0.7328 GB, free: 6.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.5711, allocations: 8 kB / 0.7328 GB, free: 6.633 MB / 0.545 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.0006336/0.5717, allocations: 463 kB / 0.7332 GB, free: 6.129 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.5717, allocations: 8.031 kB / 0.7332 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006093/0.5724, allocations: 87.67 kB / 0.7333 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.5727, allocations: 226.8 kB / 0.7335 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.5727, allocations: 20.3 kB / 0.7336 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.5728, allocations: 12 kB / 0.7336 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.5733, allocations: 323.8 kB / 0.7339 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5733, allocations: 3.938 kB / 0.7339 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.5734, allocations: 8 kB / 0.7339 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.5734, allocations: 20.27 kB / 0.7339 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.5738, allocations: 260.5 kB / 0.7342 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5756, allocations: 1.63 MB / 0.7358 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.5763, allocations: 411.2 kB / 0.7361 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.5765, allocations: 89.08 kB / 0.7362 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.5766, allocations: 34.56 kB / 0.7363 GB, free: 2.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.5766, allocations: 0 / 0.7363 GB, free: 2.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006999/0.5773, allocations: 304.9 kB / 0.7366 GB, free: 2.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.5774, allocations: 85.03 kB / 0.7366 GB, free: 2.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.5776, allocations: 176.6 kB / 0.7368 GB, free: 2.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5776, allocations: 29.7 kB / 0.7368 GB, free: 2.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.5777, allocations: 151.8 kB / 0.737 GB, free: 1.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5777, allocations: 43.3 kB / 0.737 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.5778, allocations: 4 kB / 0.737 GB, free: 1.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5779, allocations: 335 kB / 0.7373 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.5781, allocations: 75.95 kB / 0.7374 GB, free: 1.492 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.5783, allocations: 145.4 kB / 0.7376 GB, free: 1.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.5784, allocations: 99.91 kB / 0.7376 GB, free: 1.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5784, allocations: 3.953 kB / 0.7377 GB, free: 1.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003754/0.5788, allocations: 269.3 kB / 0.7379 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.5792, allocations: 0.9639 MB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.5793, allocations: 4 kB / 0.7389 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5793, allocations: 4 kB / 0.7389 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.5795, allocations: 55.89 kB / 0.7389 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5795, allocations: 4 kB / 0.7389 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.5797, allocations: 11.98 kB / 0.7389 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.5797, allocations: 16 kB / 0.7389 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.5797, allocations: 4 kB / 0.7389 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002999/0.58, allocations: 210.6 kB / 0.7391 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.58, allocations: 4 kB / 0.7392 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.58, allocations: 4 kB / 0.7392 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.5802, allocations: 52.22 kB / 0.7392 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5802, allocations: 8 kB / 0.7392 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5803, allocations: 23.84 kB / 0.7392 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5804, allocations: 8 kB / 0.7392 GB, free: 15.51 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.5806, allocations: 227.7 kB / 0.7395 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.5806, allocations: 11.84 kB / 0.7395 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.581, allocations: 207.7 kB / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.581, allocations: 0 / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.581, allocations: 7.984 kB / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.581, allocations: 7.953 kB / 0.7397 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.5823, allocations: 0.9573 MB / 0.7406 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5823, allocations: 4 kB / 0.7406 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.5825, allocations: 35.91 kB / 0.7407 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5825, allocations: 4.438 kB / 0.7407 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5825, allocations: 12 kB / 0.7407 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.5825, allocations: 4 kB / 0.7407 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5825, allocations: 7.938 kB / 0.7407 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.583, allocations: 0.5811 MB / 0.7413 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5832, allocations: 105 kB / 0.7414 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.5832, allocations: 4 kB / 0.7414 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.5834, allocations: 27.84 kB / 0.7414 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.5834, allocations: 11.95 kB / 0.7414 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5835, allocations: 15.98 kB / 0.7414 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001158/0.5836, allocations: 129.2 kB / 0.7415 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5836, allocations: 0 / 0.7415 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004929/0.5841, allocations: 72 kB / 0.7416 GB, free: 12.81 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.5842, allocations: 115.1 kB / 0.7417 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.5847, allocations: 299.9 kB / 0.742 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5847, allocations: 0 / 0.742 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.5848, allocations: 77.39 kB / 0.7421 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5852, allocations: 36.47 kB / 0.7421 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.5861, allocations: 0.5667 MB / 0.7427 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.5864, allocations: 0.744 MB / 0.7434 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.5867, allocations: 81.61 kB / 0.7435 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.5867, allocations: 23.44 kB / 0.7435 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.5867, allocations: 0 / 0.7435 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.004383/0.5911, allocations: 1.677 MB / 0.7451 GB, free: 9.145 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: