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.001063/0.001063, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008899/0.008899, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.596/1.596, allocations: 252 MB / 0.5105 GB, free: 4.605 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.0006494/0.0006495, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5501, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003043/0.5532, allocations: 2.208 MB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.5545, allocations: 0.7597 MB / 0.7316 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.5546, allocations: 0 / 0.7316 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.5548, allocations: 27.78 kB / 0.7316 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.5551, allocations: 103.6 kB / 0.7317 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.5555, allocations: 115.8 kB / 0.7318 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.5558, allocations: 295.2 kB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.5561, allocations: 183.3 kB / 0.7323 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.818e-05/0.5562, allocations: 59.73 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.5564, allocations: 91.72 kB / 0.7325 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.5565, allocations: 4 kB / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.5567, allocations: 143.6 kB / 0.7326 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.5568, allocations: 55.81 kB / 0.7326 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.5569, allocations: 85.38 kB / 0.7327 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.5572, allocations: 221.2 kB / 0.7329 GB, free: 6.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5572, allocations: 0 / 0.7329 GB, free: 6.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5572, allocations: 0 / 0.7329 GB, free: 6.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5572, allocations: 0 / 0.7329 GB, free: 6.883 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.0006168/0.5578, allocations: 419.4 kB / 0.7333 GB, free: 6.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5579, allocations: 16.02 kB / 0.7334 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.5583, allocations: 44.72 kB / 0.7334 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.5586, allocations: 220 kB / 0.7336 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5586, allocations: 8.656 kB / 0.7336 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.5586, allocations: 12.38 kB / 0.7336 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.559, allocations: 235.2 kB / 0.7338 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.559, allocations: 192 / 0.7338 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5591, allocations: 11.92 kB / 0.7339 GB, free: 5.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.5591, allocations: 20.27 kB / 0.7339 GB, free: 5.805 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.5593, allocations: 144.7 kB / 0.734 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.5604, allocations: 1.134 MB / 0.7351 GB, free: 4.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.287e-05/0.5605, allocations: 42.56 kB / 0.7352 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.5605, allocations: 20.8 kB / 0.7352 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5605, allocations: 0 / 0.7352 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.5606, allocations: 38.5 kB / 0.7352 GB, free: 4.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.5606, allocations: 0 / 0.7352 GB, free: 4.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.5608, allocations: 73.67 kB / 0.7353 GB, free: 4.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.5608, allocations: 55.34 kB / 0.7353 GB, free: 4.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.561, allocations: 180.3 kB / 0.7355 GB, free: 3.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.561, allocations: 29.7 kB / 0.7355 GB, free: 3.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.5611, allocations: 139.4 kB / 0.7357 GB, free: 3.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.5611, allocations: 15.8 kB / 0.7357 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.5612, allocations: 17.72 kB / 0.7357 GB, free: 3.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5613, allocations: 322.8 kB / 0.736 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.5614, allocations: 19.98 kB / 0.736 GB, free: 3.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.5615, allocations: 93.38 kB / 0.7361 GB, free: 3.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.5616, allocations: 121.3 kB / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5616, allocations: 0 / 0.7362 GB, free: 3.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001936/0.5618, allocations: 141.5 kB / 0.7364 GB, free: 2.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.5619, allocations: 161.8 kB / 0.7365 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5619, allocations: 4 kB / 0.7365 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5619, allocations: 4 kB / 0.7365 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5621, allocations: 27.92 kB / 0.7366 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5621, allocations: 0 / 0.7366 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.5621, allocations: 23.78 kB / 0.7366 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.5622, allocations: 4 kB / 0.7366 GB, free: 2.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-06/0.5622, allocations: 5.562 kB / 0.7366 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001318/0.5623, allocations: 103.7 kB / 0.7367 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.5623, allocations: 0 / 0.7367 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.5623, allocations: 4.312 kB / 0.7367 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.5624, allocations: 35.92 kB / 0.7367 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.5624, allocations: 4 kB / 0.7367 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.5625, allocations: 11.84 kB / 0.7368 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.5625, allocations: 8 kB / 0.7368 GB, free: 2.539 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.5626, allocations: 216.9 kB / 0.737 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.5626, allocations: 11.91 kB / 0.737 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.5627, allocations: 12.94 kB / 0.737 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5627, allocations: 0 / 0.737 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5627, allocations: 4 kB / 0.737 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5627, allocations: 7.922 kB / 0.737 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.5631, allocations: 465.1 kB / 0.7374 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5631, allocations: 0 / 0.7374 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.5631, allocations: 11.94 kB / 0.7375 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5632, allocations: 3.938 kB / 0.7375 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.5632, allocations: 12.06 kB / 0.7375 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5632, allocations: 0 / 0.7375 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5632, allocations: 0 / 0.7375 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.5633, allocations: 111.5 kB / 0.7376 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.5634, allocations: 92.95 kB / 0.7377 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.5634, allocations: 8 kB / 0.7377 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.5634, allocations: 0 / 0.7377 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.5634, allocations: 7.984 kB / 0.7377 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.5634, allocations: 0 / 0.7377 GB, free: 1.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.5635, allocations: 128 kB / 0.7378 GB, free: 1.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5636, allocations: 0 / 0.7378 GB, free: 1.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003193/0.5639, allocations: 55.75 kB / 0.7379 GB, free: 1.285 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.615e-05/0.564, allocations: 99.25 kB / 0.738 GB, free: 1.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.5642, allocations: 107.7 kB / 0.7381 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5642, allocations: 0 / 0.7381 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.5642, allocations: 25.17 kB / 0.7381 GB, free: 1.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5645, allocations: 22.98 kB / 0.7381 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.5649, allocations: 332.8 kB / 0.7384 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5652, allocations: 0.7241 MB / 0.7391 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.983e-05/0.5653, allocations: 28.62 kB / 0.7392 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.5653, allocations: 11.44 kB / 0.7392 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.5653, allocations: 0 / 0.7392 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.002994/0.5683, allocations: 0.8056 MB / 0.7399 GB, free: 15.07 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: