Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005834, allocations: 15.44 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.547, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00332/0.5504, allocations: 2.138 MB / 0.7302 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.5517, allocations: 0.7327 MB / 0.7309 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.5518, allocations: 0 / 0.7309 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.5519, allocations: 23.8 kB / 0.731 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.5522, allocations: 83.62 kB / 0.731 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.5525, allocations: 87.83 kB / 0.7311 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.5528, allocations: 231.3 kB / 0.7313 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.5531, allocations: 167.2 kB / 0.7315 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.5531, allocations: 59.77 kB / 0.7316 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.5534, allocations: 95.64 kB / 0.7316 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.5534, allocations: 8 kB / 0.7317 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.5536, allocations: 55.89 kB / 0.7317 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.5536, allocations: 47.89 kB / 0.7318 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.5537, allocations: 49.64 kB / 0.7318 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.5539, allocations: 173.5 kB / 0.732 GB, free: 7.445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5539, allocations: 0 / 0.732 GB, free: 7.445 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5539, allocations: 0 / 0.732 GB, free: 7.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5539, allocations: 0 / 0.732 GB, free: 7.445 MB / 0.545 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.0006199/0.5546, allocations: 415.2 kB / 0.7324 GB, free: 6.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5546, allocations: 8.031 kB / 0.7324 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.555, allocations: 51.77 kB / 0.7324 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5553, allocations: 214.7 kB / 0.7326 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5553, allocations: 8.281 kB / 0.7326 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.5553, allocations: 19.98 kB / 0.7326 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.5557, allocations: 230.7 kB / 0.7329 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5557, allocations: 0 / 0.7329 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5558, allocations: 12 kB / 0.7329 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.5558, allocations: 16.27 kB / 0.7329 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.5561, allocations: 144.7 kB / 0.733 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.5573, allocations: 1.134 MB / 0.7341 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.5574, allocations: 42.5 kB / 0.7342 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.5575, allocations: 24.89 kB / 0.7342 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5575, allocations: 0 / 0.7342 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.5575, allocations: 34.56 kB / 0.7342 GB, free: 4.848 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.5575, allocations: 0 / 0.7342 GB, free: 4.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000246/0.5578, allocations: 77.53 kB / 0.7343 GB, free: 4.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5578, allocations: 51.41 kB / 0.7344 GB, free: 4.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.558, allocations: 176.4 kB / 0.7345 GB, free: 4.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5581, allocations: 25.7 kB / 0.7346 GB, free: 4.488 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.5582, allocations: 147.3 kB / 0.7347 GB, free: 4.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.5582, allocations: 11.91 kB / 0.7347 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.5582, allocations: 4 kB / 0.7347 GB, free: 4.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5584, allocations: 322.8 kB / 0.735 GB, free: 4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.5584, allocations: 27.92 kB / 0.735 GB, free: 3.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.5585, allocations: 85.44 kB / 0.7351 GB, free: 3.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.874e-05/0.5586, allocations: 39.92 kB / 0.7352 GB, free: 3.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5586, allocations: 0 / 0.7352 GB, free: 3.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001954/0.5588, allocations: 141.2 kB / 0.7353 GB, free: 3.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.5589, allocations: 157.8 kB / 0.7355 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.559, allocations: 4 kB / 0.7355 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.559, allocations: 4 kB / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.5591, allocations: 28.22 kB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5591, allocations: 11.94 kB / 0.7355 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.5592, allocations: 15.84 kB / 0.7355 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5592, allocations: 11.98 kB / 0.7355 GB, free: 3.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.5592, allocations: 4 kB / 0.7355 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001584/0.5594, allocations: 95.7 kB / 0.7356 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.5594, allocations: 320 / 0.7356 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.5594, allocations: 8 kB / 0.7356 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.5595, allocations: 23.98 kB / 0.7356 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5595, allocations: 11.89 kB / 0.7357 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.5596, allocations: 15.84 kB / 0.7357 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5596, allocations: 8 kB / 0.7357 GB, free: 3.242 MB / 0.545 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.0001688/0.5598, allocations: 213 kB / 0.7359 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.5598, allocations: 7.906 kB / 0.7359 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.5598, allocations: 16.92 kB / 0.7359 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5599, allocations: 4 kB / 0.7359 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5599, allocations: 3.953 kB / 0.7359 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5599, allocations: 0 / 0.7359 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.5604, allocations: 469.1 kB / 0.7364 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5604, allocations: 4 kB / 0.7364 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.5604, allocations: 11.89 kB / 0.7364 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5604, allocations: 4.125 kB / 0.7364 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.5605, allocations: 4 kB / 0.7364 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5605, allocations: 3.984 kB / 0.7364 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5605, allocations: 3.938 kB / 0.7364 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.5606, allocations: 111.5 kB / 0.7365 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.5607, allocations: 93 kB / 0.7366 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5607, allocations: 3.953 kB / 0.7366 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.5607, allocations: 4 kB / 0.7366 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.5608, allocations: 4 kB / 0.7366 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5608, allocations: 0 / 0.7366 GB, free: 2.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001029/0.5609, allocations: 127.9 kB / 0.7367 GB, free: 2.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5609, allocations: 0 / 0.7367 GB, free: 2.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003346/0.5612, allocations: 55.83 kB / 0.7368 GB, free: 1.992 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001786/0.5614, allocations: 103.2 kB / 0.7369 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.5616, allocations: 99.77 kB / 0.737 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5616, allocations: 1.25 kB / 0.737 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.5617, allocations: 15.94 kB / 0.737 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.562, allocations: 25.95 kB / 0.737 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.5626, allocations: 324.7 kB / 0.7373 GB, free: 1.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.563, allocations: 0.7163 MB / 0.738 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.5631, allocations: 36.59 kB / 0.7381 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.5632, allocations: 11.44 kB / 0.7381 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5632, allocations: 0 / 0.7381 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of Templates: time 0.00316/0.5663, allocations: 0.7864 MB / 0.7388 GB, free: 15.81 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: