Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.62/1.62, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001173, allocations: 178.9 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 94.81 kB / 0.7808 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5846, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.7738, allocations: 168.4 MB / 1.191 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.7743, allocations: 100.8 kB / 1.191 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.06215/0.8365, allocations: 18.24 MB / 1.209 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.053e-06/0.8365, allocations: 0 / 1.209 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.8365, allocations: 4 kB / 1.209 GB, free: 7.23 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001171/0.8377, allocations: 0.527 MB / 1.209 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8378, allocations: 8.031 kB / 1.209 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.839, allocations: 96.55 kB / 1.209 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.8396, allocations: 260.3 kB / 1.209 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.8396, allocations: 12.81 kB / 1.21 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.8397, allocations: 28.36 kB / 1.21 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.8406, allocations: 365.6 kB / 1.21 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.8406, allocations: 3.516 kB / 1.21 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.8407, allocations: 15.86 kB / 1.21 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.8407, allocations: 24.42 kB / 1.21 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.8415, allocations: 301.5 kB / 1.21 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.844, allocations: 1.532 MB / 1.212 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.8446, allocations: 238.5 kB / 1.212 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.8449, allocations: 108.8 kB / 1.212 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.8451, allocations: 97.03 kB / 1.212 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.8451, allocations: 34.56 kB / 1.212 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.806e-06/0.8452, allocations: 0 / 1.212 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001769/0.8469, allocations: 0.787 MB / 1.213 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.847, allocations: 55.41 kB / 1.213 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.8472, allocations: 192 kB / 1.213 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.8473, allocations: 29.7 kB / 1.213 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.8474, allocations: 164.5 kB / 1.213 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.8475, allocations: 67 kB / 1.213 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.8475, allocations: 8 kB / 1.213 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8477, allocations: 330.8 kB / 1.214 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.848, allocations: 111.9 kB / 1.214 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.8483, allocations: 169.9 kB / 1.214 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.8489, allocations: 289.8 kB / 1.214 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8489, allocations: 4.781 kB / 1.214 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001138/0.8501, allocations: 405.6 kB / 1.215 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8501, allocations: 8 kB / 1.215 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.8501, allocations: 3.938 kB / 1.215 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005135/0.8506, allocations: 97.36 kB / 1.215 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.851, allocations: 51.91 kB / 1.215 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.8537, allocations: 1.737 MB / 1.217 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.854, allocations: 17.89 kB / 1.217 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.8541, allocations: 8 kB / 1.217 GB, free: 14.55 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.8543, allocations: 170.7 kB / 1.217 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.8544, allocations: 15.81 kB / 1.217 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.8552, allocations: 292.9 kB / 1.217 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.8552, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.8552, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.8552, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.8565, allocations: 0.7046 MB / 1.218 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.8566, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/0.857, allocations: 58.27 kB / 1.218 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.857, allocations: 4 kB / 1.218 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.8571, allocations: 4 kB / 1.218 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.8571, allocations: 5.406 kB / 1.218 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.8571, allocations: 0 / 1.218 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.8581, allocations: 0.5203 MB / 1.218 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8583, allocations: 114 kB / 1.218 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.8583, allocations: 8 kB / 1.218 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.8586, allocations: 11.98 kB / 1.218 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.8587, allocations: 23.86 kB / 1.218 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.8587, allocations: 8.062 kB / 1.218 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001778/0.8589, allocations: 140.4 kB / 1.219 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8589, allocations: 4 kB / 1.219 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006419/0.8596, allocations: 72 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0002041/0.8598, allocations: 127.1 kB / 1.219 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000976/0.8608, allocations: 423.1 kB / 1.219 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8608, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.8611, allocations: 127.8 kB / 1.219 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.8616, allocations: 30.64 kB / 1.219 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.8633, allocations: 0.7598 MB / 1.22 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.8637, allocations: 0.768 MB / 1.221 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.864, allocations: 59.92 kB / 1.221 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.8641, allocations: 27.36 kB / 1.221 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of SimCode: time 3.3e-07/0.8641, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of Templates: time 0.007609/0.8717, allocations: 2.582 MB / 1.223 GB, free: 7.445 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)