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.001289/0.001289, allocations: 115.5 kB / 17.08 MB, free: 6.012 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.001322/0.001322, allocations: 196.1 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.33/1.33, 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.736/0.736, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.05 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1365, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005432/0.142, allocations: 3.834 MB / 0.6365 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.1449, allocations: 1.776 MB / 0.6382 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1451, allocations: 4 kB / 0.6382 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1465, allocations: 446.2 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.1471, allocations: 250.8 kB / 0.6389 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1477, allocations: 253.8 kB / 0.6391 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.1483, allocations: 0.4983 MB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.1489, allocations: 372.8 kB / 0.6399 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1492, allocations: 195.4 kB / 0.6401 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.1496, allocations: 235.1 kB / 0.6404 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.818e-05/0.1497, allocations: 28 kB / 0.6404 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.15, allocations: 183.6 kB / 0.6406 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1502, allocations: 131.7 kB / 0.6407 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1504, allocations: 183 kB / 0.6409 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.151, allocations: 498.4 kB / 0.6413 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.151, allocations: 0 / 0.6413 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.151, allocations: 0 / 0.6413 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.151, allocations: 4 kB / 0.6413 GB, free: 11.54 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.001169/0.1522, allocations: 0.6472 MB / 0.642 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1523, allocations: 8.031 kB / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.1529, allocations: 92.34 kB / 0.6421 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1532, allocations: 299.5 kB / 0.6423 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1533, allocations: 25.02 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1533, allocations: 28.38 kB / 0.6424 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.1541, allocations: 490 kB / 0.6429 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1542, allocations: 3.938 kB / 0.6429 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.1542, allocations: 19.92 kB / 0.6429 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.1543, allocations: 40.62 kB / 0.6429 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.1551, allocations: 362.3 kB / 0.6433 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1572, allocations: 2.041 MB / 0.6453 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.1578, allocations: 214.6 kB / 0.6455 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.1581, allocations: 152.8 kB / 0.6456 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1582, allocations: 4 kB / 0.6456 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1582, allocations: 38.55 kB / 0.6457 GB, free: 6.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 3.036e-06/0.1582, allocations: 0 / 0.6457 GB, free: 6.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001108/0.1593, allocations: 420.4 kB / 0.6461 GB, free: 6.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1594, allocations: 55.41 kB / 0.6461 GB, free: 6.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1596, allocations: 254.7 kB / 0.6464 GB, free: 6.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1597, allocations: 29.7 kB / 0.6464 GB, free: 5.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1598, allocations: 219.6 kB / 0.6466 GB, free: 5.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1599, allocations: 67.09 kB / 0.6467 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.16, allocations: 57.89 kB / 0.6467 GB, free: 5.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1601, allocations: 338.8 kB / 0.647 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1604, allocations: 97.84 kB / 0.6471 GB, free: 5.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1607, allocations: 207.6 kB / 0.6473 GB, free: 4.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.1614, allocations: 315.5 kB / 0.6476 GB, free: 4.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.1614, allocations: 4 kB / 0.6476 GB, free: 4.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009632/0.1623, allocations: 357.9 kB / 0.648 GB, free: 4.219 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1624, allocations: 8 kB / 0.648 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1624, allocations: 4 kB / 0.648 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.1626, allocations: 32.83 kB / 0.648 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1629, allocations: 72.03 kB / 0.6481 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1642, allocations: 1.435 MB / 0.6495 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1645, allocations: 43.67 kB / 0.6495 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1645, allocations: 15.94 kB / 0.6495 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003562/0.1649, allocations: 216.6 kB / 0.6497 GB, free: 2.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003094/0.1652, allocations: 217.1 kB / 0.65 GB, free: 1.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000548/0.1658, allocations: 318 kB / 0.6503 GB, free: 1.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.1658, allocations: 0 / 0.6503 GB, free: 1.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006841/0.1665, allocations: 336.8 kB / 0.6506 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1665, allocations: 8 kB / 0.6506 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1665, allocations: 4.5 kB / 0.6506 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.1665, allocations: 12 kB / 0.6506 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1668, allocations: 71.89 kB / 0.6507 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1668, allocations: 7.938 kB / 0.6507 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.1671, allocations: 31.83 kB / 0.6507 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1671, allocations: 16 kB / 0.6507 GB, free: 1.141 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.0001455/0.1673, allocations: 207.6 kB / 0.6509 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.1673, allocations: 27.72 kB / 0.651 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1674, allocations: 34.17 kB / 0.651 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1674, allocations: 0 / 0.651 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.1674, allocations: 4 kB / 0.651 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1674, allocations: 0 / 0.651 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1686, allocations: 0.7537 MB / 0.6517 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1686, allocations: 0 / 0.6517 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.1689, allocations: 36.02 kB / 0.6518 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.169, allocations: 32.8 kB / 0.6518 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.169, allocations: 8 kB / 0.6518 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.17, allocations: 1.414 MB / 0.6532 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1701, allocations: 4.031 kB / 0.6532 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.1707, allocations: 367.8 kB / 0.6535 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1708, allocations: 116.8 kB / 0.6536 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1709, allocations: 4 kB / 0.6536 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.1711, allocations: 15.98 kB / 0.6537 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1712, allocations: 23.91 kB / 0.6537 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1712, allocations: 7.938 kB / 0.6537 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001882/0.1714, allocations: 182 kB / 0.6539 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1714, allocations: 3.938 kB / 0.6539 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006097/0.172, allocations: 151.5 kB / 0.654 GB, free: 13.5 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.0001234/0.1721, allocations: 99.25 kB / 0.6541 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.1732, allocations: 493.9 kB / 0.6546 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1732, allocations: 0 / 0.6546 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.1736, allocations: 226.7 kB / 0.6548 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.1741, allocations: 69.14 kB / 0.6549 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.175, allocations: 0.5917 MB / 0.6554 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1754, allocations: 0.8074 MB / 0.6562 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.1755, allocations: 23.44 kB / 0.6563 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1755, allocations: 0 / 0.6563 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.007366/0.1829, allocations: 4.786 MB / 0.6609 GB, free: 6.344 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)