Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001565/0.001565, allocations: 177.3 kB / 15.95 MB, free: 216 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.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.624/1.624, allocations: 251.9 MB / 0.51 GB, free: 4.797 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.0005133/0.0005134, allocations: 16 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5384, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006501/0.545, allocations: 3.264 MB / 0.7312 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003833/0.5488, allocations: 1.587 MB / 0.7327 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.5491, allocations: 4 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.5494, allocations: 63.59 kB / 0.7328 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.5501, allocations: 159.5 kB / 0.7329 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.5507, allocations: 154.8 kB / 0.7331 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.5513, allocations: 263.5 kB / 0.7333 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.5519, allocations: 293.2 kB / 0.7336 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.5522, allocations: 131.5 kB / 0.7337 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.5526, allocations: 147.4 kB / 0.7339 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.5527, allocations: 12 kB / 0.7339 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.5531, allocations: 111.8 kB / 0.734 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.5533, allocations: 103.7 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.5534, allocations: 81.58 kB / 0.7342 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.5541, allocations: 369 kB / 0.7345 GB, free: 4.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5541, allocations: 0 / 0.7345 GB, free: 4.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5541, allocations: 0 / 0.7345 GB, free: 4.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.5541, allocations: 4 kB / 0.7345 GB, free: 4.633 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001381/0.5555, allocations: 0.5807 MB / 0.7351 GB, free: 4.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.5556, allocations: 12.02 kB / 0.7351 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.5573, allocations: 159.3 kB / 0.7352 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.5579, allocations: 274.5 kB / 0.7355 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.558, allocations: 20.66 kB / 0.7355 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.5581, allocations: 24 kB / 0.7356 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.5592, allocations: 463.6 kB / 0.736 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5592, allocations: 3.938 kB / 0.736 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.5593, allocations: 12 kB / 0.736 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.089e-05/0.5594, allocations: 24.55 kB / 0.736 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.5602, allocations: 329.9 kB / 0.7363 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.5635, allocations: 2.189 MB / 0.7385 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.5641, allocations: 255.8 kB / 0.7387 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5642, allocations: 0 / 0.7387 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5642, allocations: 34.56 kB / 0.7388 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.5642, allocations: 4 kB / 0.7388 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000637/0.5648, allocations: 307.2 kB / 0.7391 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5649, allocations: 59.36 kB / 0.7391 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.5652, allocations: 262.5 kB / 0.7394 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.5652, allocations: 29.7 kB / 0.7394 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5654, allocations: 207.8 kB / 0.7396 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.5654, allocations: 59.25 kB / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5654, allocations: 0 / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5656, allocations: 334.8 kB / 0.74 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.576e-05/0.5657, allocations: 56.44 kB / 0.74 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.5658, allocations: 148.5 kB / 0.7402 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.566, allocations: 75.97 kB / 0.7402 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.566, allocations: 8.031 kB / 0.7402 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003879/0.5664, allocations: 265.9 kB / 0.7405 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5664, allocations: 10.03 kB / 0.7405 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5664, allocations: 0 / 0.7405 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.5666, allocations: 45.06 kB / 0.7406 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.5668, allocations: 43.92 kB / 0.7406 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.5679, allocations: 1.327 MB / 0.7419 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5681, allocations: 27.69 kB / 0.7419 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5682, allocations: 12 kB / 0.7419 GB, free: 12.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (27): * Single equations (assignments): 26 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.5683, allocations: 165.7 kB / 0.7421 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.5684, allocations: 23.72 kB / 0.7421 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.5684, allocations: 33.78 kB / 0.7421 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5685, allocations: 192 / 0.7421 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5685, allocations: 4 kB / 0.7421 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5685, allocations: 7.984 kB / 0.7422 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008882/0.5694, allocations: 0.6156 MB / 0.7428 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.5694, allocations: 7.984 kB / 0.7428 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.5695, allocations: 24.06 kB / 0.7428 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-05/0.5696, allocations: 24.84 kB / 0.7428 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5696, allocations: 0 / 0.7428 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.5707, allocations: 1.323 MB / 0.7441 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5707, allocations: 4.031 kB / 0.7441 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.5711, allocations: 358.7 kB / 0.7444 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.5712, allocations: 116.8 kB / 0.7446 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.5713, allocations: 8 kB / 0.7446 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5715, allocations: 11.98 kB / 0.7446 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.5715, allocations: 19.92 kB / 0.7446 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.5715, allocations: 4 kB / 0.7446 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001794/0.5717, allocations: 190 kB / 0.7448 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5717, allocations: 0 / 0.7448 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004314/0.5721, allocations: 75.84 kB / 0.7449 GB, free: 9.133 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.5723, allocations: 103.2 kB / 0.745 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.5728, allocations: 278.4 kB / 0.7452 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5728, allocations: 3.938 kB / 0.7452 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.573, allocations: 183.4 kB / 0.7454 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.5734, allocations: 62.78 kB / 0.7455 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.5742, allocations: 0.6156 MB / 0.7461 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.5747, allocations: 0.8028 MB / 0.7468 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.5748, allocations: 46.25 kB / 0.7469 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.5749, allocations: 19.44 kB / 0.7469 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5749, allocations: 0 / 0.7469 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.007884/0.5828, allocations: 2.434 MB / 0.7493 GB, free: 4.531 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) Environment - environmentSimulation: