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.001156/0.001156, allocations: 121.4 kB / 17.09 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.001153/0.001153, allocations: 192.7 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.318/1.318, 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.747/0.747, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 66.48 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005441/0.1491, allocations: 3.81 MB / 0.6364 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1521, allocations: 1.741 MB / 0.6381 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.1523, allocations: 11.94 kB / 0.6381 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.1538, allocations: 0.4902 MB / 0.6386 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.1544, allocations: 218.9 kB / 0.6388 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.155, allocations: 207.5 kB / 0.639 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.1556, allocations: 466.5 kB / 0.6395 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005979/0.1562, allocations: 369.1 kB / 0.6398 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1565, allocations: 199.3 kB / 0.64 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.1569, allocations: 219.1 kB / 0.6402 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.157, allocations: 28 kB / 0.6403 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.1574, allocations: 239.5 kB / 0.6405 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1576, allocations: 131.6 kB / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1578, allocations: 171.2 kB / 0.6408 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.1584, allocations: 0.4984 MB / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1584, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1584, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1584, allocations: 4 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.001008/0.1595, allocations: 0.6277 MB / 0.6419 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1595, allocations: 12.03 kB / 0.6419 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.1604, allocations: 132.4 kB / 0.642 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.1609, allocations: 303.5 kB / 0.6423 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.1609, allocations: 21.03 kB / 0.6423 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.1609, allocations: 28.38 kB / 0.6423 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.1616, allocations: 463.9 kB / 0.6428 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1616, allocations: 7.938 kB / 0.6428 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.1617, allocations: 15.98 kB / 0.6428 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.1618, allocations: 28.55 kB / 0.6428 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.1623, allocations: 317.9 kB / 0.6431 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.1646, allocations: 2.181 MB / 0.6453 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.165, allocations: 247.8 kB / 0.6455 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1652, allocations: 108.8 kB / 0.6456 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1652, allocations: 0 / 0.6456 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1653, allocations: 34.56 kB / 0.6456 GB, free: 6.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1653, allocations: 4 kB / 0.6457 GB, free: 6.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006256/0.1659, allocations: 302.3 kB / 0.6459 GB, free: 6.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.166, allocations: 63.34 kB / 0.646 GB, free: 6.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1663, allocations: 266.5 kB / 0.6463 GB, free: 6.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1663, allocations: 25.7 kB / 0.6463 GB, free: 6.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1664, allocations: 207.8 kB / 0.6465 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.1665, allocations: 55.25 kB / 0.6465 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.1666, allocations: 45.94 kB / 0.6466 GB, free: 5.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1667, allocations: 334.8 kB / 0.6469 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1668, allocations: 56.42 kB / 0.6469 GB, free: 5.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.167, allocations: 145.7 kB / 0.6471 GB, free: 5.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1672, allocations: 217.6 kB / 0.6473 GB, free: 4.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1673, allocations: 7.938 kB / 0.6473 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000426/0.1677, allocations: 257.9 kB / 0.6475 GB, free: 4.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1677, allocations: 8 kB / 0.6476 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1677, allocations: 7.984 kB / 0.6476 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.1679, allocations: 29.22 kB / 0.6476 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1681, allocations: 63.91 kB / 0.6477 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.1693, allocations: 1.418 MB / 0.649 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1695, allocations: 23.75 kB / 0.6491 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1695, allocations: 8 kB / 0.6491 GB, free: 2.977 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.0001853/0.1697, allocations: 173.6 kB / 0.6492 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.1698, allocations: 23.72 kB / 0.6493 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1698, allocations: 33.92 kB / 0.6493 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1698, allocations: 0 / 0.6493 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1698, allocations: 0 / 0.6493 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1699, allocations: 0 / 0.6493 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/0.1708, allocations: 0.7101 MB / 0.65 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1708, allocations: 4 kB / 0.65 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.1709, allocations: 19.94 kB / 0.65 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-05/0.171, allocations: 32.77 kB / 0.65 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.171, allocations: 4 kB / 0.65 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.1721, allocations: 1.41 MB / 0.6514 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1721, allocations: 0 / 0.6514 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.1725, allocations: 317.3 kB / 0.6517 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1726, allocations: 128.7 kB / 0.6518 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1726, allocations: 4.094 kB / 0.6518 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1728, allocations: 15.94 kB / 0.6519 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1729, allocations: 15.92 kB / 0.6519 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1729, allocations: 4 kB / 0.6519 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000199/0.1731, allocations: 194 kB / 0.6521 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1731, allocations: 4 kB / 0.6521 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004138/0.1735, allocations: 75.75 kB / 0.6521 GB, free: 15.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001313/0.1736, allocations: 103.2 kB / 0.6522 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.1741, allocations: 277 kB / 0.6525 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1742, allocations: 8.25 kB / 0.6525 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1744, allocations: 178.5 kB / 0.6527 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.1749, allocations: 58.41 kB / 0.6527 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.1759, allocations: 0.5651 MB / 0.6533 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1763, allocations: 0.7909 MB / 0.6541 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.1764, allocations: 27.44 kB / 0.6541 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1764, allocations: 3.938 kB / 0.6541 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.007124/0.1835, allocations: 4.413 MB / 0.6584 GB, free: 9.023 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)