Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001162/0.001162, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.611/1.611, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007912, allocations: 84.19 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.552e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7164, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.9311, allocations: 165.1 MB / 1.134 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.9315, allocations: 96.47 kB / 1.135 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04061/0.9721, allocations: 16.41 MB / 1.151 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9722, allocations: 0 / 1.151 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.9722, allocations: 4 kB / 1.151 GB, free: 0.4961 MB / 0.7448 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.0009477/0.9731, allocations: 0.5099 MB / 1.151 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9732, allocations: 12.03 kB / 1.151 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007946/0.974, allocations: 95.61 kB / 1.151 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.9744, allocations: 263 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9745, allocations: 4 kB / 1.151 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.9745, allocations: 16 kB / 1.151 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003855/0.9749, allocations: 224.9 kB / 1.152 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.9754, allocations: 332.2 kB / 1.152 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.9754, allocations: 4 kB / 1.152 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.9755, allocations: 0 / 1.152 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/0.9755, allocations: 24.42 kB / 1.152 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.9773, allocations: 1.475 MB / 1.153 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.9777, allocations: 214.5 kB / 1.154 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.9779, allocations: 108.8 kB / 1.154 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.978, allocations: 85.09 kB / 1.154 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.9781, allocations: 38.56 kB / 1.154 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.9781, allocations: 0 / 1.154 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.001377/0.9795, allocations: 0.7187 MB / 1.155 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.9795, allocations: 51.41 kB / 1.155 GB, free: 12 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.9797, allocations: 157.9 kB / 1.155 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.9797, allocations: 25.7 kB / 1.155 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9799, allocations: 169 kB / 1.155 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.9799, allocations: 63.02 kB / 1.155 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.9799, allocations: 0 / 1.155 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9801, allocations: 335 kB / 1.155 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.9803, allocations: 99.97 kB / 1.155 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.9805, allocations: 162.7 kB / 1.156 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.9808, allocations: 157.8 kB / 1.156 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.9808, allocations: 0 / 1.156 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007993/0.9816, allocations: 397.9 kB / 1.156 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9817, allocations: 4 kB / 1.156 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.9817, allocations: 7.938 kB / 1.156 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.982, allocations: 92.97 kB / 1.156 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.9823, allocations: 58.14 kB / 1.156 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.984, allocations: 1.65 MB / 1.158 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.9842, allocations: 16 kB / 1.158 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.9843, allocations: 12 kB / 1.158 GB, free: 8.461 MB / 0.7605 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 () * 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.0001182/0.9844, allocations: 112.9 kB / 1.158 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.9844, allocations: 15.81 kB / 1.158 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.985, allocations: 299.4 kB / 1.158 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.985, allocations: 0 / 1.158 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.985, allocations: 0 / 1.158 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.9851, allocations: 9.25 kB / 1.158 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.986, allocations: 0.6613 MB / 1.159 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.986, allocations: 0 / 1.159 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.9863, allocations: 55.95 kB / 1.159 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.9863, allocations: 0 / 1.159 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.9863, allocations: 4 kB / 1.159 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9863, allocations: 0 / 1.159 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9863, allocations: 3.938 kB / 1.159 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.987, allocations: 0.5358 MB / 1.16 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.9872, allocations: 114.5 kB / 1.16 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.9872, allocations: 4 kB / 1.16 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.9874, allocations: 12.05 kB / 1.16 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.9874, allocations: 19.94 kB / 1.16 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9874, allocations: 4 kB / 1.16 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000104/0.9876, allocations: 132.8 kB / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9876, allocations: 1.031 kB / 1.16 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003706/0.9879, allocations: 75.94 kB / 1.16 GB, free: 6.309 MB / 0.7605 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 () * 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.0001898/0.9881, allocations: 127.1 kB / 1.16 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007045/0.9888, allocations: 400 kB / 1.16 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9889, allocations: 0 / 1.16 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.989, allocations: 113.9 kB / 1.161 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.9893, allocations: 23.45 kB / 1.161 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.9903, allocations: 488.1 kB / 1.161 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.9907, allocations: 0.775 MB / 1.162 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.9908, allocations: 60.03 kB / 1.162 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.9909, allocations: 19.44 kB / 1.162 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of SimCode: time 5.11e-07/0.9909, allocations: 0 / 1.162 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of Templates: time 0.005148/0.9961, allocations: 2.419 MB / 1.164 GB, free: 1.914 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)