Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.746/2.746, allocations: 287.5 MB / 302.4 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002529/0.002529, allocations: 185.6 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001646/0.001645, allocations: 92.36 kB / 0.743 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004903, allocations: 14.72 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2513, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.239, allocations: 164.7 MB / 1.139 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.239, allocations: 107.8 kB / 1.139 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06299/1.302, allocations: 16.57 MB / 1.155 GB, free: 20.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.302, allocations: 0 / 1.155 GB, free: 20.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.068e-05/1.302, allocations: 4 kB / 1.155 GB, free: 20.57 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001134/1.303, allocations: 0.5275 MB / 1.156 GB, free: 20.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.303, allocations: 8.031 kB / 1.156 GB, free: 20 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.305, allocations: 107 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/1.305, allocations: 252.5 kB / 1.156 GB, free: 19.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.305, allocations: 22.86 kB / 1.156 GB, free: 19.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/1.305, allocations: 23.06 kB / 1.156 GB, free: 19.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/1.306, allocations: 358.5 kB / 1.157 GB, free: 19.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.306, allocations: 4 kB / 1.157 GB, free: 19.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/1.306, allocations: 10.75 kB / 1.157 GB, free: 19.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/1.306, allocations: 20.42 kB / 1.157 GB, free: 19.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/1.307, allocations: 307 kB / 1.157 GB, free: 19.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/1.31, allocations: 1.527 MB / 1.159 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/1.31, allocations: 227.6 kB / 1.159 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/1.31, allocations: 93.03 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.311, allocations: 30.56 kB / 1.159 GB, free: 17.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.916e-06/1.311, allocations: 0 / 1.159 GB, free: 17.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001835/1.312, allocations: 0.7966 MB / 1.16 GB, free: 16.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.312, allocations: 59.39 kB / 1.16 GB, free: 16.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/1.313, allocations: 170.4 kB / 1.16 GB, free: 16.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/1.313, allocations: 29.45 kB / 1.16 GB, free: 16.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/1.313, allocations: 166.1 kB / 1.16 GB, free: 16.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/1.313, allocations: 61.3 kB / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/1.313, allocations: 7.188 kB / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.313, allocations: 330.6 kB / 1.16 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/1.313, allocations: 113.5 kB / 1.161 GB, free: 15.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/1.314, allocations: 168.9 kB / 1.161 GB, free: 15.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/1.314, allocations: 141.5 kB / 1.161 GB, free: 15.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.314, allocations: 0 / 1.161 GB, free: 15.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001109/1.315, allocations: 411.4 kB / 1.161 GB, free: 15.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.315, allocations: 8 kB / 1.161 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.315, allocations: 0 / 1.161 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/1.316, allocations: 97.45 kB / 1.161 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/1.316, allocations: 51.91 kB / 1.161 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/1.319, allocations: 1.767 MB / 1.163 GB, free: 13.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/1.319, allocations: 15.86 kB / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.319, allocations: 8 kB / 1.163 GB, free: 13.34 MB / 0.698 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.0002589/1.32, allocations: 160.6 kB / 1.163 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/1.32, allocations: 15.81 kB / 1.163 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/1.32, allocations: 297.6 kB / 1.164 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.32, allocations: 4 kB / 1.164 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.32, allocations: 0 / 1.164 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.32, allocations: 4 kB / 1.164 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.322, allocations: 0.7032 MB / 1.164 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.322, allocations: 4 kB / 1.164 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/1.322, allocations: 55.14 kB / 1.164 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.322, allocations: 3.938 kB / 1.164 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.323, allocations: 6.875 kB / 1.164 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/1.323, allocations: 4 kB / 1.164 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.323, allocations: 7.891 kB / 1.164 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/1.323, allocations: 0.533 MB / 1.165 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/1.324, allocations: 116.2 kB / 1.165 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/1.324, allocations: 11.64 kB / 1.165 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/1.324, allocations: 11.61 kB / 1.165 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/1.324, allocations: 15.98 kB / 1.165 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/1.324, allocations: 7.75 kB / 1.165 GB, free: 11.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002106/1.324, allocations: 140.7 kB / 1.165 GB, free: 11.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.324, allocations: 0 / 1.165 GB, free: 11.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006226/1.325, allocations: 77.88 kB / 1.165 GB, free: 11.47 MB / 0.698 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.0002489/1.325, allocations: 123.3 kB / 1.165 GB, free: 11.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.327, allocations: 424.8 kB / 1.166 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.327, allocations: 0 / 1.166 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/1.327, allocations: 115.9 kB / 1.166 GB, free: 10.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/1.327, allocations: 42.09 kB / 1.166 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/1.329, allocations: 0.7638 MB / 1.167 GB, free: 10.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/1.33, allocations: 0.7738 MB / 1.167 GB, free: 9.355 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003515/1.33, allocations: 53.91 kB / 1.167 GB, free: 9.305 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.33, allocations: 26.75 kB / 1.168 GB, free: 9.281 MB / 0.698 GB Notification: Performance of SimCode: time 1.263e-06/1.33, allocations: 0 / 1.168 GB, free: 9.281 MB / 0.698 GB Notification: Performance of Templates: time 0.009517/1.34, allocations: 2.549 MB / 1.17 GB, free: 6.754 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)