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.001062/0.001062, allocations: 84.38 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.001213/0.001213, 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.649/1.649, 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.548/1.548, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0005138/0.000514, allocations: 16 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5609, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004616/0.5656, allocations: 3.342 MB / 0.7314 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.5684, allocations: 1.622 MB / 0.733 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.5687, allocations: 11.88 kB / 0.733 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.5689, allocations: 59.55 kB / 0.733 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.5695, allocations: 179.1 kB / 0.7332 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.57, allocations: 143.7 kB / 0.7333 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.5706, allocations: 0.5334 MB / 0.7339 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.571, allocations: 292.6 kB / 0.7341 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.5712, allocations: 155.3 kB / 0.7343 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.5716, allocations: 199.3 kB / 0.7345 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.5716, allocations: 16 kB / 0.7345 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.5719, allocations: 119.9 kB / 0.7346 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.5721, allocations: 107.7 kB / 0.7347 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.5721, allocations: 85.52 kB / 0.7348 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.5726, allocations: 377 kB / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5726, allocations: 0 / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5726, allocations: 0 / 0.7352 GB, free: 4.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.5726, allocations: 0 / 0.7352 GB, free: 4.191 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.0009809/0.5736, allocations: 0.5807 MB / 0.7357 GB, free: 3.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5736, allocations: 8.031 kB / 0.7357 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008463/0.5745, allocations: 139.3 kB / 0.7359 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.5749, allocations: 286.5 kB / 0.7361 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5749, allocations: 16.66 kB / 0.7362 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.575, allocations: 28 kB / 0.7362 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.5757, allocations: 463.5 kB / 0.7366 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5757, allocations: 0 / 0.7366 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.5758, allocations: 15.98 kB / 0.7366 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.5758, allocations: 32.55 kB / 0.7367 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.5763, allocations: 321.9 kB / 0.737 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.5785, allocations: 2.189 MB / 0.7391 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.5789, allocations: 251.8 kB / 0.7394 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5791, allocations: 108.9 kB / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.5791, allocations: 7.938 kB / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5792, allocations: 34.5 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5792, allocations: 4 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005935/0.5798, allocations: 306.8 kB / 0.7398 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.5798, allocations: 51.41 kB / 0.7398 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.5801, allocations: 270.5 kB / 0.7401 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5802, allocations: 29.64 kB / 0.7401 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.5803, allocations: 211.8 kB / 0.7403 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.5804, allocations: 51.27 kB / 0.7404 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.5804, allocations: 8 kB / 0.7404 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5805, allocations: 326.8 kB / 0.7407 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.5806, allocations: 60.36 kB / 0.7408 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5808, allocations: 145.5 kB / 0.7409 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.581, allocations: 79.92 kB / 0.741 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.581, allocations: 0 / 0.741 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004216/0.5814, allocations: 260.8 kB / 0.7412 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.5814, allocations: 10.25 kB / 0.7412 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5814, allocations: 7.953 kB / 0.7412 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.5817, allocations: 24.84 kB / 0.7413 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.5819, allocations: 51.92 kB / 0.7413 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.5833, allocations: 1.315 MB / 0.7426 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.5835, allocations: 27.69 kB / 0.7426 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5835, allocations: 12 kB / 0.7426 GB, free: 11.91 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002537/0.5838, allocations: 169.7 kB / 0.7428 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.5839, allocations: 23.81 kB / 0.7428 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.5839, allocations: 33.78 kB / 0.7429 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5839, allocations: 7.938 kB / 0.7429 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5839, allocations: 0 / 0.7429 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.584, allocations: 0 / 0.7429 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.585, allocations: 0.7025 MB / 0.7435 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5851, allocations: 3.984 kB / 0.7436 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.5851, allocations: 27.92 kB / 0.7436 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.5853, allocations: 24.84 kB / 0.7436 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5853, allocations: 4 kB / 0.7436 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5863, allocations: 1.308 MB / 0.7449 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5863, allocations: 0 / 0.7449 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.5867, allocations: 321.2 kB / 0.7452 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5868, allocations: 120.8 kB / 0.7453 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.5868, allocations: 4 kB / 0.7453 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.587, allocations: 15.98 kB / 0.7453 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.587, allocations: 15.88 kB / 0.7453 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5871, allocations: 16 kB / 0.7454 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002125/0.5873, allocations: 185.9 kB / 0.7455 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5873, allocations: 4 kB / 0.7455 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004289/0.5877, allocations: 79.75 kB / 0.7456 GB, free: 8.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 13 * 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.0001594/0.5879, allocations: 103.2 kB / 0.7457 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004827/0.5884, allocations: 271.1 kB / 0.746 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5884, allocations: 4.062 kB / 0.746 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5886, allocations: 182.5 kB / 0.7461 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.5891, allocations: 59.14 kB / 0.7462 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.5901, allocations: 0.6376 MB / 0.7468 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.5905, allocations: 0.7913 MB / 0.7476 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.5907, allocations: 42.27 kB / 0.7476 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.5908, allocations: 19.44 kB / 0.7477 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.5908, allocations: 0 / 0.7477 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of Templates: time 0.006275/0.5971, allocations: 2.495 MB / 0.7501 GB, free: 3.906 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: