Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 116.5 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.001152/0.001152, 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 61.31 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1541, allocations: 76.17 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005873/0.16, allocations: 4.082 MB / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1628, allocations: 1.601 MB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.1631, allocations: 4 kB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1648, allocations: 0.5742 MB / 0.6388 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.1655, allocations: 238.8 kB / 0.6391 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.1662, allocations: 222.3 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.167, allocations: 0.5452 MB / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008196/0.1678, allocations: 473.8 kB / 0.6403 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1682, allocations: 227.3 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.1688, allocations: 255 kB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.54e-05/0.1689, allocations: 36 kB / 0.6408 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.1693, allocations: 171.6 kB / 0.6409 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1694, allocations: 139.7 kB / 0.641 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.1697, allocations: 203 kB / 0.6412 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.1703, allocations: 0.5217 MB / 0.6418 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1704, allocations: 0 / 0.6418 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1704, allocations: 4 kB / 0.6418 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1704, allocations: 0 / 0.6418 GB, free: 11.14 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001349/0.1717, allocations: 0.6787 MB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1718, allocations: 8.031 kB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.1726, allocations: 108.5 kB / 0.6425 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.173, allocations: 303.6 kB / 0.6428 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.1731, allocations: 55.25 kB / 0.6429 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.1732, allocations: 36.38 kB / 0.6429 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.1741, allocations: 0.5125 MB / 0.6434 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1741, allocations: 0 / 0.6434 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.1741, allocations: 12 kB / 0.6434 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.1742, allocations: 32.98 kB / 0.6434 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.1749, allocations: 375.7 kB / 0.6438 GB, free: 8.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.1774, allocations: 2.215 MB / 0.646 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.178, allocations: 258.6 kB / 0.6462 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.1784, allocations: 152.8 kB / 0.6464 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1784, allocations: 3.984 kB / 0.6464 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1785, allocations: 38.56 kB / 0.6464 GB, free: 6.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.1785, allocations: 0 / 0.6464 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001476/0.18, allocations: 0.5672 MB / 0.647 GB, free: 5.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.18, allocations: 59.41 kB / 0.647 GB, free: 5.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1802, allocations: 221 kB / 0.6472 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1803, allocations: 29.7 kB / 0.6473 GB, free: 5.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1804, allocations: 215.6 kB / 0.6475 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.1805, allocations: 63.05 kB / 0.6475 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.1806, allocations: 53.61 kB / 0.6476 GB, free: 4.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1807, allocations: 330.8 kB / 0.6479 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1809, allocations: 104.8 kB / 0.648 GB, free: 4.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1812, allocations: 179.5 kB / 0.6482 GB, free: 4.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.1816, allocations: 275.3 kB / 0.6484 GB, free: 3.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1816, allocations: 3.984 kB / 0.6484 GB, free: 3.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008342/0.1825, allocations: 375.6 kB / 0.6488 GB, free: 3.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1825, allocations: 4 kB / 0.6488 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1825, allocations: 4 kB / 0.6488 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.1831, allocations: 121.8 kB / 0.6489 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1833, allocations: 43.97 kB / 0.6489 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/0.1865, allocations: 3.05 MB / 0.6519 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1868, allocations: 35.67 kB / 0.652 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.1868, allocations: 8 kB / 0.652 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003184/0.1871, allocations: 216 kB / 0.6522 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002585/0.1874, allocations: 183.1 kB / 0.6523 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004387/0.1879, allocations: 271.7 kB / 0.6526 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.1879, allocations: 4 kB / 0.6526 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007626/0.1886, allocations: 347.8 kB / 0.6529 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1887, allocations: 9.5 kB / 0.653 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.1887, allocations: 4 kB / 0.653 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.189, allocations: 84.91 kB / 0.653 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1892, allocations: 59.84 kB / 0.6531 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1911, allocations: 1.61 MB / 0.6547 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1914, allocations: 31.73 kB / 0.6547 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1915, allocations: 15.94 kB / 0.6547 GB, free: 12.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.1916, allocations: 189.3 kB / 0.6549 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.1917, allocations: 23.86 kB / 0.6549 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.1917, allocations: 30.19 kB / 0.6549 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1917, allocations: 3.938 kB / 0.6549 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1918, allocations: 3.984 kB / 0.655 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1919, allocations: 120.7 kB / 0.6551 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1919, allocations: 4 kB / 0.6551 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1921, allocations: 11.98 kB / 0.6551 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.1922, allocations: 19.97 kB / 0.6551 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007397/0.1929, allocations: 366.3 kB / 0.6555 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006574/0.1936, allocations: 498 kB / 0.6559 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001876/0.1938, allocations: 91.97 kB / 0.656 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001294/0.1939, allocations: 160.5 kB / 0.6562 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Backend: time 5.31e-07/0.1939, allocations: 0 / 0.6562 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.1961, allocations: 0.8477 MB / 0.657 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001187/0.1973, allocations: 1.05 MB / 0.658 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.01011/0.2075, allocations: 5.66 MB / 0.6635 GB, free: 3.648 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)