Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 176.4 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 0.6317 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009073/0.0009075, allocations: 82.38 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7534/0.9679, allocations: 160 MB / 1.137 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.9682, allocations: 102.9 kB / 1.137 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02989/0.9981, allocations: 14.27 MB / 1.151 GB, free: 25.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9982, allocations: 0 / 1.151 GB, free: 25.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.9982, allocations: 3.875 kB / 1.151 GB, free: 25.17 MB / 0.698 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.0007673/0.999, allocations: 483.6 kB / 1.151 GB, free: 24.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.999, allocations: 7.844 kB / 1.151 GB, free: 24.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.9998, allocations: 86.34 kB / 1.152 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/1, allocations: 230.6 kB / 1.152 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1, allocations: 15.02 kB / 1.152 GB, free: 24.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/1, allocations: 19.33 kB / 1.152 GB, free: 24.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/1.001, allocations: 321.3 kB / 1.152 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.001, allocations: 192 / 1.152 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/1.001, allocations: 15.48 kB / 1.152 GB, free: 24.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/1.001, allocations: 19.2 kB / 1.152 GB, free: 24.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/1.001, allocations: 245 kB / 1.152 GB, free: 24.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/1.003, allocations: 1.624 MB / 1.154 GB, free: 22.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/1.003, allocations: 415.5 kB / 1.154 GB, free: 22.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/1.003, allocations: 95.38 kB / 1.154 GB, free: 22.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/1.003, allocations: 89.08 kB / 1.155 GB, free: 22.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/1.003, allocations: 37.75 kB / 1.155 GB, free: 22.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.003, allocations: 0 / 1.155 GB, free: 22.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006115/1.004, allocations: 304.1 kB / 1.155 GB, free: 21.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.004, allocations: 81.23 kB / 1.155 GB, free: 21.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.004, allocations: 172.7 kB / 1.155 GB, free: 21.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.004, allocations: 25.7 kB / 1.155 GB, free: 21.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/1.004, allocations: 152.8 kB / 1.155 GB, free: 21.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/1.004, allocations: 46.48 kB / 1.155 GB, free: 21.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.004, allocations: 2.938 kB / 1.155 GB, free: 21.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.005, allocations: 333.3 kB / 1.156 GB, free: 20.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.996e-05/1.005, allocations: 80.69 kB / 1.156 GB, free: 20.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/1.005, allocations: 150.7 kB / 1.156 GB, free: 20.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/1.005, allocations: 242.1 kB / 1.156 GB, free: 20.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/1.005, allocations: 0 / 1.156 GB, free: 20.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003478/1.005, allocations: 273.3 kB / 1.156 GB, free: 20.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/1.005, allocations: 164.8 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.005, allocations: 4 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.006, allocations: 4 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.006, allocations: 63.27 kB / 1.157 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.006, allocations: 4.156 kB / 1.157 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.006, allocations: 15.42 kB / 1.157 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.006, allocations: 8 kB / 1.157 GB, free: 20.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/1.006, allocations: 4 kB / 1.157 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002591/1.006, allocations: 205.4 kB / 1.157 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/1.006, allocations: 8.062 kB / 1.157 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.006, allocations: 4 kB / 1.157 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.006, allocations: 55.02 kB / 1.157 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.006, allocations: 4 kB / 1.157 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/1.007, allocations: 15.41 kB / 1.157 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.007, allocations: 15.92 kB / 1.157 GB, free: 19.83 MB / 0.698 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.0001672/1.007, allocations: 229.4 kB / 1.157 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/1.007, allocations: 7.906 kB / 1.157 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/1.007, allocations: 216.9 kB / 1.157 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.007, allocations: 0 / 1.157 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.007, allocations: 4 kB / 1.157 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.007, allocations: 7.922 kB / 1.157 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.008, allocations: 0.9601 MB / 1.158 GB, free: 18.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.008, allocations: 4 kB / 1.158 GB, free: 18.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.008, allocations: 39.28 kB / 1.158 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.008, allocations: 4 kB / 1.158 GB, free: 18.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/1.008, allocations: 4 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.008, allocations: 4 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.008, allocations: 7.938 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/1.009, allocations: 444 kB / 1.159 GB, free: 17.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/1.009, allocations: 108 kB / 1.159 GB, free: 17.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.009, allocations: 7.75 kB / 1.159 GB, free: 17.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.009, allocations: 11.98 kB / 1.159 GB, free: 17.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/1.009, allocations: 23.55 kB / 1.159 GB, free: 17.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/1.009, allocations: 4 kB / 1.159 GB, free: 17.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001013/1.009, allocations: 143.4 kB / 1.159 GB, free: 17.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.009, allocations: 0 / 1.159 GB, free: 17.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005037/1.01, allocations: 90 kB / 1.159 GB, free: 17.61 MB / 0.698 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.0001833/1.01, allocations: 122.2 kB / 1.159 GB, free: 17.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003906/1.01, allocations: 300.8 kB / 1.16 GB, free: 17.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.01, allocations: 0 / 1.16 GB, free: 17.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/1.011, allocations: 84.2 kB / 1.16 GB, free: 17.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/1.011, allocations: 31.84 kB / 1.16 GB, free: 17.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/1.012, allocations: 0.5712 MB / 1.16 GB, free: 16.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.012, allocations: 0.7478 MB / 1.161 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002116/1.012, allocations: 81.5 kB / 1.161 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/1.012, allocations: 19.44 kB / 1.161 GB, free: 15.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.012, allocations: 0 / 1.161 GB, free: 15.71 MB / 0.698 GB Notification: Performance of Templates: time 0.004362/1.017, allocations: 1.692 MB / 1.163 GB, free: 14.07 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)