Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001115, allocations: 110.1 kB / 17.09 MB, free: 5.984 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.001055/0.001056, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.69 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1475, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005795/0.1533, allocations: 3.833 MB / 0.6365 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.1565, allocations: 1.772 MB / 0.6382 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.1569, allocations: 8 kB / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.1583, allocations: 458.1 kB / 0.6386 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.1591, allocations: 234.8 kB / 0.6389 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.1598, allocations: 257.4 kB / 0.6391 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.1607, allocations: 0.4984 MB / 0.6396 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.1614, allocations: 360.8 kB / 0.6399 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.1617, allocations: 195.4 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/0.1623, allocations: 235.1 kB / 0.6404 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.1623, allocations: 32 kB / 0.6404 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1627, allocations: 191.5 kB / 0.6406 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1628, allocations: 127.7 kB / 0.6407 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.163, allocations: 183.1 kB / 0.6409 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.1636, allocations: 494.4 kB / 0.6413 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1636, allocations: 0 / 0.6413 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1636, allocations: 3.938 kB / 0.6413 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1636, allocations: 0 / 0.6413 GB, free: 11.58 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001087/0.1647, allocations: 0.655 MB / 0.642 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1647, allocations: 8.031 kB / 0.642 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/0.1653, allocations: 88.28 kB / 0.6421 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1657, allocations: 311.5 kB / 0.6424 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1657, allocations: 21.03 kB / 0.6424 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.1657, allocations: 28.36 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.1665, allocations: 490 kB / 0.6429 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1665, allocations: 4 kB / 0.6429 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.1666, allocations: 8 kB / 0.6429 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.1666, allocations: 44.61 kB / 0.6429 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.1673, allocations: 366.2 kB / 0.6433 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.1693, allocations: 2.037 MB / 0.6453 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.1698, allocations: 214.6 kB / 0.6455 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.1702, allocations: 156.8 kB / 0.6456 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1702, allocations: 0 / 0.6456 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1702, allocations: 34.56 kB / 0.6457 GB, free: 6.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.183e-06/0.1702, allocations: 4 kB / 0.6457 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001019/0.1713, allocations: 420.5 kB / 0.6461 GB, free: 6.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1713, allocations: 59.34 kB / 0.6461 GB, free: 6.301 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1716, allocations: 258.7 kB / 0.6464 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1716, allocations: 29.7 kB / 0.6464 GB, free: 6.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1717, allocations: 211.6 kB / 0.6466 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1718, allocations: 63.09 kB / 0.6467 GB, free: 5.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.1718, allocations: 61.88 kB / 0.6467 GB, free: 5.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.172, allocations: 338.8 kB / 0.647 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1722, allocations: 97.92 kB / 0.6471 GB, free: 5.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.1725, allocations: 207.6 kB / 0.6473 GB, free: 4.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.1731, allocations: 315 kB / 0.6476 GB, free: 4.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1731, allocations: 0 / 0.6476 GB, free: 4.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006956/0.1738, allocations: 355.7 kB / 0.648 GB, free: 4.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1738, allocations: 8.453 kB / 0.648 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1738, allocations: 8 kB / 0.648 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.174, allocations: 36.78 kB / 0.648 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1743, allocations: 71.83 kB / 0.6481 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1756, allocations: 1.437 MB / 0.6495 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1759, allocations: 47.66 kB / 0.6495 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1759, allocations: 12 kB / 0.6495 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003196/0.1762, allocations: 212.6 kB / 0.6498 GB, free: 2.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002882/0.1765, allocations: 213 kB / 0.65 GB, free: 2.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005094/0.177, allocations: 321.8 kB / 0.6503 GB, free: 1.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.177, allocations: 0 / 0.6503 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006197/0.1777, allocations: 336.9 kB / 0.6506 GB, free: 1.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.1777, allocations: 4 kB / 0.6506 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1777, allocations: 15.92 kB / 0.6506 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.1777, allocations: 4 kB / 0.6506 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.178, allocations: 67.91 kB / 0.6507 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.178, allocations: 12.42 kB / 0.6507 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1782, allocations: 31.83 kB / 0.6507 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1782, allocations: 12 kB / 0.6507 GB, free: 1.176 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.1784, allocations: 204.1 kB / 0.6509 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1784, allocations: 23.72 kB / 0.6509 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.1785, allocations: 30.17 kB / 0.651 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1785, allocations: 3.938 kB / 0.651 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1785, allocations: 4 kB / 0.651 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.1786, allocations: 124.7 kB / 0.6511 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1786, allocations: 0 / 0.6511 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1788, allocations: 19.98 kB / 0.6511 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.1789, allocations: 19.91 kB / 0.6511 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006666/0.1795, allocations: 331.6 kB / 0.6515 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007561/0.1803, allocations: 494.1 kB / 0.6519 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002104/0.1805, allocations: 98.81 kB / 0.652 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001549/0.1807, allocations: 186 kB / 0.6522 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Backend: time 4.81e-07/0.1807, allocations: 0 / 0.6522 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.182, allocations: 0.5723 MB / 0.6528 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001095/0.1831, allocations: 1.025 MB / 0.6538 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.009483/0.1926, allocations: 4.843 MB / 0.6585 GB, free: 9.141 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)