Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001166/0.001166, allocations: 189.6 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7599/0.7599, allocations: 122.9 MB / 414.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.59 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 77.94 MB / 0.6452 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005398/0.1538, allocations: 3.054 MB / 0.6482 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1561, allocations: 1.321 MB / 0.6495 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1563, allocations: 11.88 kB / 0.6495 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.1574, allocations: 346.7 kB / 0.6498 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.1578, allocations: 139.3 kB / 0.6499 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.1582, allocations: 135.6 kB / 0.6501 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.1586, allocations: 302.9 kB / 0.6504 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004325/0.1591, allocations: 244.2 kB / 0.6506 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1593, allocations: 123.6 kB / 0.6507 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.1596, allocations: 139.5 kB / 0.6508 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1596, allocations: 20 kB / 0.6509 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.16, allocations: 163.6 kB / 0.651 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.1601, allocations: 75.8 kB / 0.6511 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1602, allocations: 107.5 kB / 0.6512 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.1607, allocations: 346.9 kB / 0.6515 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1607, allocations: 3.938 kB / 0.6515 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1607, allocations: 4 kB / 0.6515 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1607, allocations: 0 / 0.6515 GB, free: 2.582 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008366/0.1616, allocations: 0.5165 MB / 0.652 GB, free: 2.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1616, allocations: 12.62 kB / 0.652 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.1622, allocations: 76.58 kB / 0.6521 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1626, allocations: 244 kB / 0.6523 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1626, allocations: 20.73 kB / 0.6524 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1626, allocations: 20.36 kB / 0.6524 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.1631, allocations: 299.2 kB / 0.6527 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1631, allocations: 4 kB / 0.6527 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.1632, allocations: 12 kB / 0.6527 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.1632, allocations: 16.36 kB / 0.6527 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1635, allocations: 196.9 kB / 0.6529 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1651, allocations: 1.464 MB / 0.6543 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1653, allocations: 171.7 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.1654, allocations: 36.84 kB / 0.6545 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1654, allocations: 4 kB / 0.6545 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1655, allocations: 30.56 kB / 0.6545 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.1655, allocations: 0 / 0.6545 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004706/0.1659, allocations: 227.4 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.166, allocations: 55.41 kB / 0.6548 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1662, allocations: 194.3 kB / 0.655 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1662, allocations: 25.7 kB / 0.655 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1663, allocations: 167.8 kB / 0.6552 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1663, allocations: 27.64 kB / 0.6552 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.1664, allocations: 33.62 kB / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1665, allocations: 334.8 kB / 0.6556 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.1666, allocations: 31.98 kB / 0.6556 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.1667, allocations: 104.5 kB / 0.6557 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1669, allocations: 144.5 kB / 0.6558 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1669, allocations: 3.938 kB / 0.6558 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003161/0.1672, allocations: 194 kB / 0.656 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1673, allocations: 13.86 kB / 0.656 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1673, allocations: 0 / 0.656 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.1674, allocations: 24.84 kB / 0.6561 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1676, allocations: 27.94 kB / 0.6561 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1687, allocations: 1.422 MB / 0.6575 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1688, allocations: 19.75 kB / 0.6575 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1688, allocations: 8 kB / 0.6575 GB, free: 11.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.169, allocations: 149.7 kB / 0.6576 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.169, allocations: 15.84 kB / 0.6577 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1691, allocations: 21.39 kB / 0.6577 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1691, allocations: 0 / 0.6577 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1691, allocations: 4.062 kB / 0.6577 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.1692, allocations: 101 kB / 0.6578 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1692, allocations: 4 kB / 0.6578 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1693, allocations: 4 kB / 0.6578 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.1694, allocations: 3.984 kB / 0.6578 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002583/0.1696, allocations: 189.6 kB / 0.658 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002293/0.1699, allocations: 291 kB / 0.6583 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.595e-05/0.1699, allocations: 28.08 kB / 0.6583 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001208/0.17, allocations: 148.3 kB / 0.6584 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of Backend: time 7.01e-07/0.1701, allocations: 0 / 0.6584 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008522/0.1709, allocations: 364.7 kB / 0.6588 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008568/0.1718, allocations: 0.8331 MB / 0.6596 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of Templates: time 0.006125/0.1779, allocations: 2.567 MB / 0.6621 GB, free: 7.066 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)