Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 132 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.0009276/0.0009277, allocations: 183 kB / 384.6 MB, free: 10.86 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.327/1.327, allocations: 223.2 MB / 0.6626 GB, free: 4.188 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.0007254/0.0007254, allocations: 104.8 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004093, allocations: 12 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6419, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.8314, allocations: 163.5 MB / 1.186 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.8317, allocations: 91.95 kB / 1.186 GB, free: 14.22 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.02361/0.8554, allocations: 10.92 MB / 1.197 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8554, allocations: 1 kB / 1.197 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.8554, allocations: 4 kB / 1.197 GB, free: 3.402 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005622/0.856, allocations: 420.8 kB / 1.197 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.856, allocations: 12.55 kB / 1.197 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.8565, allocations: 50.19 kB / 1.197 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.8567, allocations: 220.6 kB / 1.197 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8568, allocations: 8.656 kB / 1.197 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.8568, allocations: 15.36 kB / 1.197 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.8572, allocations: 226.6 kB / 1.198 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8572, allocations: 1.969 kB / 1.198 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.8572, allocations: 16.67 kB / 1.198 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.8572, allocations: 16.27 kB / 1.198 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.8575, allocations: 140.7 kB / 1.198 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.8586, allocations: 1.138 MB / 1.199 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.8587, allocations: 34.5 kB / 1.199 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.8587, allocations: 12.86 kB / 1.199 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.8587, allocations: 1.547 kB / 1.199 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.8587, allocations: 40.17 kB / 1.199 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.8588, allocations: 1.312 kB / 1.199 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0001799/0.8589, allocations: 65.5 kB / 1.199 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.859, allocations: 55.34 kB / 1.199 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.8592, allocations: 180.3 kB / 1.199 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.8592, allocations: 25.7 kB / 1.199 GB, free: 488 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.8593, allocations: 143.9 kB / 1.199 GB, free: 340 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.8593, allocations: 7.906 kB / 1.199 GB, free: 332 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.8593, allocations: 9.031 kB / 1.199 GB, free: 324 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8594, allocations: 318.8 kB / 1.2 GB, free: 16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.8595, allocations: 22.77 kB / 1.2 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.8595, allocations: 90.48 kB / 1.2 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.8597, allocations: 122.7 kB / 1.2 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8597, allocations: 4 kB / 1.2 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001996/0.8599, allocations: 133.2 kB / 1.2 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.86, allocations: 171.5 kB / 1.2 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.86, allocations: 4 kB / 1.2 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8601, allocations: 4 kB / 1.2 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.8602, allocations: 31.92 kB / 1.2 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.8602, allocations: 4 kB / 1.2 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.8603, allocations: 19.69 kB / 1.2 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.8603, allocations: 8.875 kB / 1.2 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.8603, allocations: 4 kB / 1.2 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001438/0.8605, allocations: 103.7 kB / 1.2 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8605, allocations: 6.031 kB / 1.2 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.01e-06/0.8605, allocations: 4 kB / 1.2 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.8606, allocations: 19.94 kB / 1.2 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.8606, allocations: 4 kB / 1.2 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.8606, allocations: 7.984 kB / 1.2 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.8607, allocations: 13.62 kB / 1.2 GB, free: 15.14 MB / 0.7761 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 (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 prepare postOptimizeDAE: time 0.000135/0.8608, allocations: 221.8 kB / 1.201 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.8608, allocations: 11.81 kB / 1.201 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.8609, allocations: 12.94 kB / 1.201 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.8609, allocations: 0 / 1.201 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8609, allocations: 0 / 1.201 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8609, allocations: 3.938 kB / 1.201 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.8613, allocations: 452.4 kB / 1.201 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8613, allocations: 4 kB / 1.201 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.8614, allocations: 7.984 kB / 1.201 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.8614, allocations: 3.938 kB / 1.201 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8614, allocations: 3.938 kB / 1.201 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8614, allocations: 4 kB / 1.201 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8614, allocations: 2.062 kB / 1.201 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.8615, allocations: 98.78 kB / 1.201 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.8616, allocations: 99.47 kB / 1.201 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.8616, allocations: 0 / 1.201 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.8617, allocations: 4 kB / 1.201 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.8617, allocations: 0 / 1.201 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.8617, allocations: 0 / 1.201 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001006/0.8618, allocations: 138.7 kB / 1.201 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8618, allocations: 3.938 kB / 1.201 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003428/0.8622, allocations: 55.84 kB / 1.202 GB, free: 13.92 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001086/0.8623, allocations: 99.25 kB / 1.202 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.8625, allocations: 100.9 kB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8625, allocations: 0 / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.8625, allocations: 13.59 kB / 1.202 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.8628, allocations: 34.02 kB / 1.202 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.8632, allocations: 308.4 kB / 1.202 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.8635, allocations: 0.7163 MB / 1.203 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.895e-05/0.8636, allocations: 32.61 kB / 1.203 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.8637, allocations: 11.44 kB / 1.203 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of SimCode: time 2.31e-07/0.8637, allocations: 0 / 1.203 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.002903/0.8666, allocations: 0.7706 MB / 1.204 GB, free: 11.82 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)