Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001323/0.001323, allocations: 117.4 kB / 17.09 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.001649/0.001649, 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6901/0.6901, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.59 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005296/0.1666, allocations: 3.814 MB / 0.6364 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1694, allocations: 1.741 MB / 0.6381 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1697, allocations: 7.938 kB / 0.6382 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1712, allocations: 498.1 kB / 0.6386 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.1718, allocations: 222.9 kB / 0.6388 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.1725, allocations: 210.5 kB / 0.639 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.173, allocations: 474.4 kB / 0.6395 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.1736, allocations: 357.1 kB / 0.6398 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1738, allocations: 203.2 kB / 0.64 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.1742, allocations: 215.2 kB / 0.6402 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.1743, allocations: 28 kB / 0.6403 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.1748, allocations: 247.4 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1749, allocations: 127.7 kB / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1751, allocations: 167.2 kB / 0.6408 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.1757, allocations: 0.5023 MB / 0.6413 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1757, allocations: 0 / 0.6413 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1757, allocations: 0 / 0.6413 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1757, allocations: 3.938 kB / 0.6413 GB, free: 11.65 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001098/0.1768, allocations: 0.6355 MB / 0.6419 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1769, allocations: 8.031 kB / 0.6419 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.1778, allocations: 132.4 kB / 0.642 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.1782, allocations: 307.6 kB / 0.6423 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1782, allocations: 21.03 kB / 0.6423 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1783, allocations: 24.38 kB / 0.6424 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.1789, allocations: 467.9 kB / 0.6428 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.179, allocations: 0 / 0.6428 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.179, allocations: 12 kB / 0.6428 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/0.1791, allocations: 36.53 kB / 0.6429 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.1795, allocations: 317.9 kB / 0.6432 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1818, allocations: 2.181 MB / 0.6453 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.1822, allocations: 251.8 kB / 0.6455 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1825, allocations: 108.8 kB / 0.6456 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1825, allocations: 4 kB / 0.6456 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1825, allocations: 34.5 kB / 0.6457 GB, free: 6.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.1826, allocations: 4 kB / 0.6457 GB, free: 6.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006396/0.1832, allocations: 299.5 kB / 0.646 GB, free: 6.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1832, allocations: 51.41 kB / 0.646 GB, free: 6.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1835, allocations: 270.5 kB / 0.6463 GB, free: 6.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1836, allocations: 25.7 kB / 0.6463 GB, free: 6.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1837, allocations: 203.8 kB / 0.6465 GB, free: 5.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.1838, allocations: 63.23 kB / 0.6465 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.1838, allocations: 41.95 kB / 0.6466 GB, free: 5.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.184, allocations: 334.8 kB / 0.6469 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1841, allocations: 64.38 kB / 0.647 GB, free: 5.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1842, allocations: 141.7 kB / 0.6471 GB, free: 5.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1845, allocations: 218.9 kB / 0.6473 GB, free: 4.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1845, allocations: 0 / 0.6473 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004886/0.185, allocations: 265.9 kB / 0.6476 GB, free: 4.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.185, allocations: 7.938 kB / 0.6476 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1851, allocations: 4 kB / 0.6476 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.1852, allocations: 29.16 kB / 0.6476 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1854, allocations: 47.98 kB / 0.6476 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.1865, allocations: 1.429 MB / 0.649 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1867, allocations: 27.78 kB / 0.6491 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1868, allocations: 12.08 kB / 0.6491 GB, free: 2.969 MB / 494.1 MB 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 (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.0001685/0.1869, allocations: 173.6 kB / 0.6492 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.187, allocations: 27.66 kB / 0.6493 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.187, allocations: 25.92 kB / 0.6493 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1871, allocations: 4 kB / 0.6493 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1871, allocations: 4 kB / 0.6493 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.1872, allocations: 104.8 kB / 0.6494 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1872, allocations: 8 kB / 0.6494 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1873, allocations: 7.984 kB / 0.6494 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.1874, allocations: 11.98 kB / 0.6494 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000349/0.1877, allocations: 241.7 kB / 0.6497 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003368/0.1881, allocations: 386.8 kB / 0.65 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.958e-05/0.1881, allocations: 48 kB / 0.6501 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.1883, allocations: 190 kB / 0.6503 GB, free: 1.707 MB / 494.1 MB Notification: Performance of Backend: time 5.41e-07/0.1883, allocations: 0 / 0.6503 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1894, allocations: 446.5 kB / 0.6507 GB, free: 1.254 MB / 494.1 MB Notification: Performance of SimCode: time 0.001205/0.1906, allocations: 0.9813 MB / 0.6516 GB, free: 232 kB / 494.1 MB Notification: Performance of Templates: time 0.008036/0.1987, allocations: 3.898 MB / 0.6554 GB, free: 12.36 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)