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.00119/0.00119, allocations: 117 kB / 17.09 MB, free: 5.938 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.001271/0.001272, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7512/0.7512, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 65.05 kB / 0.5583 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.00542/0.1482, allocations: 3.842 MB / 0.6365 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1511, allocations: 1.765 MB / 0.6382 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1514, allocations: 8 kB / 0.6382 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.1528, allocations: 458.1 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006679/0.1535, allocations: 242.8 kB / 0.6389 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.1542, allocations: 250.2 kB / 0.6391 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.1547, allocations: 0.4944 MB / 0.6396 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.1553, allocations: 368.8 kB / 0.6399 GB, free: 13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.1556, allocations: 199.3 kB / 0.6401 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.156, allocations: 239.1 kB / 0.6404 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.156, allocations: 28 kB / 0.6404 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1564, allocations: 187.6 kB / 0.6406 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1565, allocations: 131.7 kB / 0.6407 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1567, allocations: 175.1 kB / 0.6409 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.1572, allocations: 498.3 kB / 0.6413 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1572, allocations: 4 kB / 0.6413 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1572, allocations: 0 / 0.6413 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1573, allocations: 0 / 0.6413 GB, free: 11.57 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.001146/0.1584, allocations: 0.6511 MB / 0.642 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1585, allocations: 12.03 kB / 0.642 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005932/0.1591, allocations: 80.41 kB / 0.6421 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.1595, allocations: 307.5 kB / 0.6424 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1595, allocations: 25.02 kB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.1596, allocations: 36.31 kB / 0.6424 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.1604, allocations: 478 kB / 0.6429 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1604, allocations: 3.938 kB / 0.6429 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.1604, allocations: 23.97 kB / 0.6429 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.1605, allocations: 36.64 kB / 0.6429 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.1612, allocations: 366.2 kB / 0.6433 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1632, allocations: 2.033 MB / 0.6453 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.1638, allocations: 214.7 kB / 0.6455 GB, free: 7.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1642, allocations: 152.8 kB / 0.6456 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1642, allocations: 4 kB / 0.6456 GB, free: 6.852 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.1642, allocations: 34.5 kB / 0.6457 GB, free: 6.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1642, allocations: 0 / 0.6457 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001028/0.1653, allocations: 424.5 kB / 0.6461 GB, free: 6.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1653, allocations: 51.41 kB / 0.6461 GB, free: 6.305 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1656, allocations: 262.7 kB / 0.6464 GB, free: 6.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1656, allocations: 33.7 kB / 0.6464 GB, free: 6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1657, allocations: 211.6 kB / 0.6466 GB, free: 5.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1658, allocations: 66.98 kB / 0.6467 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.1659, allocations: 61.89 kB / 0.6467 GB, free: 5.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.166, allocations: 334.8 kB / 0.647 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.1663, allocations: 105.9 kB / 0.6471 GB, free: 5.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.1666, allocations: 203.6 kB / 0.6473 GB, free: 4.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.1671, allocations: 311.4 kB / 0.6476 GB, free: 4.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1671, allocations: 4 kB / 0.6476 GB, free: 4.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007063/0.1678, allocations: 349.7 kB / 0.648 GB, free: 4.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1679, allocations: 9.25 kB / 0.648 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1679, allocations: 4 kB / 0.648 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.1681, allocations: 41.27 kB / 0.648 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1684, allocations: 75.83 kB / 0.6481 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1696, allocations: 1.429 MB / 0.6495 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1699, allocations: 43.66 kB / 0.6495 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1699, allocations: 20.09 kB / 0.6495 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003429/0.1703, allocations: 208.6 kB / 0.6497 GB, free: 2.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003216/0.1706, allocations: 213 kB / 0.6499 GB, free: 2.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005346/0.1711, allocations: 315.1 kB / 0.6502 GB, free: 1.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.1711, allocations: 4 kB / 0.6502 GB, free: 1.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006652/0.1718, allocations: 343.5 kB / 0.6506 GB, free: 1.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1718, allocations: 8 kB / 0.6506 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1719, allocations: 4 kB / 0.6506 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.1719, allocations: 8 kB / 0.6506 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1721, allocations: 75.83 kB / 0.6507 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1722, allocations: 4 kB / 0.6507 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.1724, allocations: 35.81 kB / 0.6507 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1724, allocations: 12.12 kB / 0.6507 GB, free: 1.172 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.0001378/0.1726, allocations: 207.6 kB / 0.6509 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1726, allocations: 27.66 kB / 0.6509 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.1727, allocations: 34.17 kB / 0.651 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1727, allocations: 4 kB / 0.651 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1727, allocations: 0 / 0.651 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1727, allocations: 0 / 0.651 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.1739, allocations: 0.7563 MB / 0.6517 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1739, allocations: 0 / 0.6517 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.1741, allocations: 39.97 kB / 0.6518 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.1743, allocations: 32.91 kB / 0.6518 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1743, allocations: 3.938 kB / 0.6518 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009902/0.1753, allocations: 1.426 MB / 0.6532 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1753, allocations: 0 / 0.6532 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.1759, allocations: 367.6 kB / 0.6535 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.176, allocations: 108.8 kB / 0.6536 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1761, allocations: 8 kB / 0.6536 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1763, allocations: 19.97 kB / 0.6537 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1763, allocations: 19.92 kB / 0.6537 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1763, allocations: 11.94 kB / 0.6537 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001645/0.1765, allocations: 182 kB / 0.6539 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.044e-06/0.1765, allocations: 0 / 0.6539 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005772/0.1771, allocations: 151.5 kB / 0.654 GB, free: 13.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001301/0.1772, allocations: 95.25 kB / 0.6541 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.1783, allocations: 499.8 kB / 0.6546 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1783, allocations: 0 / 0.6546 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.1787, allocations: 218.5 kB / 0.6548 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.1792, allocations: 73.88 kB / 0.6549 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1802, allocations: 0.5957 MB / 0.6554 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1806, allocations: 0.8035 MB / 0.6562 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.1807, allocations: 23.44 kB / 0.6562 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1807, allocations: 0 / 0.6562 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.007541/0.1882, allocations: 4.78 MB / 0.6609 GB, free: 6.375 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)