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.00114/0.00114, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.00122/0.00122, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.03 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004261/0.1511, allocations: 3.052 MB / 0.6357 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1531, allocations: 1.324 MB / 0.637 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1532, allocations: 11.94 kB / 0.637 GB, free: 24 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.1542, allocations: 336.9 kB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.1546, allocations: 143.3 kB / 0.6375 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1549, allocations: 143.6 kB / 0.6376 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.1553, allocations: 295.1 kB / 0.6379 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.1557, allocations: 236.2 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1559, allocations: 127.5 kB / 0.6382 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.1563, allocations: 139.5 kB / 0.6384 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.1563, allocations: 20 kB / 0.6384 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.1566, allocations: 163.6 kB / 0.6385 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.1567, allocations: 79.8 kB / 0.6386 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.1568, allocations: 111.5 kB / 0.6387 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.1573, allocations: 338.9 kB / 0.639 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1573, allocations: 0 / 0.639 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1573, allocations: 3.938 kB / 0.6391 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1573, allocations: 0 / 0.6391 GB, free: 13.93 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.0007511/0.1581, allocations: 0.5108 MB / 0.6396 GB, free: 13.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1581, allocations: 15.97 kB / 0.6396 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.1587, allocations: 76.58 kB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1589, allocations: 247.9 kB / 0.6399 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1589, allocations: 20.73 kB / 0.6399 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.159, allocations: 16.38 kB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1594, allocations: 303.2 kB / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1594, allocations: 0 / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1595, allocations: 4 kB / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.1595, allocations: 20.36 kB / 0.6402 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.1598, allocations: 204.9 kB / 0.6404 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1612, allocations: 1.46 MB / 0.6418 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.1614, allocations: 171.7 kB / 0.642 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.1615, allocations: 32.84 kB / 0.642 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.1615, allocations: 4 kB / 0.642 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1616, allocations: 38.56 kB / 0.6421 GB, free: 10.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1616, allocations: 0 / 0.6421 GB, free: 10.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004399/0.162, allocations: 219.6 kB / 0.6423 GB, free: 10.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.162, allocations: 55.56 kB / 0.6423 GB, free: 10.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1622, allocations: 203.4 kB / 0.6425 GB, free: 9.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1622, allocations: 25.7 kB / 0.6426 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1623, allocations: 167.6 kB / 0.6427 GB, free: 9.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1624, allocations: 27.64 kB / 0.6427 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1624, allocations: 33.72 kB / 0.6428 GB, free: 9.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.1625, allocations: 330.8 kB / 0.6431 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.1626, allocations: 35.98 kB / 0.6431 GB, free: 9.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.343e-05/0.1627, allocations: 108.4 kB / 0.6432 GB, free: 9.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1628, allocations: 136.5 kB / 0.6434 GB, free: 9.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1629, allocations: 4 kB / 0.6434 GB, free: 9.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002782/0.1631, allocations: 194.3 kB / 0.6436 GB, free: 8.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1632, allocations: 7.984 kB / 0.6436 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1632, allocations: 4 kB / 0.6436 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.1633, allocations: 20.84 kB / 0.6436 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1634, allocations: 31.94 kB / 0.6436 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009692/0.1644, allocations: 1.43 MB / 0.645 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.1645, allocations: 11.84 kB / 0.645 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1646, allocations: 12 kB / 0.645 GB, free: 7.195 MB / 494.1 MB 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.0001116/0.1647, allocations: 149.9 kB / 0.6452 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.1647, allocations: 19.75 kB / 0.6452 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.1648, allocations: 21.39 kB / 0.6452 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1648, allocations: 4.031 kB / 0.6452 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1648, allocations: 0 / 0.6452 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.1649, allocations: 100.9 kB / 0.6453 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1649, allocations: 0 / 0.6453 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.165, allocations: 4 kB / 0.6453 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.165, allocations: 7.984 kB / 0.6453 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002265/0.1652, allocations: 189.7 kB / 0.6455 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000202/0.1655, allocations: 290.5 kB / 0.6458 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.814e-05/0.1655, allocations: 20.02 kB / 0.6458 GB, free: 6.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1656, allocations: 147.3 kB / 0.6459 GB, free: 6.203 MB / 494.1 MB Notification: Performance of Backend: time 3.21e-07/0.1656, allocations: 0 / 0.6459 GB, free: 6.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.1664, allocations: 362.5 kB / 0.6463 GB, free: 5.832 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007961/0.1672, allocations: 0.8303 MB / 0.6471 GB, free: 4.957 MB / 494.1 MB Notification: Performance of Templates: time 0.005694/0.1729, allocations: 2.583 MB / 0.6496 GB, free: 2.398 MB / 494.1 MB 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)