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.0008838/0.0008837, allocations: 92.95 kB / 16.66 MB, free: 5.738 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.001102/0.001102, allocations: 186.5 kB / 17.58 MB, free: 5.473 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.359/1.359, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7261/0.7261, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 11.98 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.455, allocations: 77.51 MB / 0.5606 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.003939/0.4589, allocations: 3.475 MB / 0.564 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.4614, allocations: 1.697 MB / 0.5656 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.4616, allocations: 10.84 kB / 0.5656 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.4619, allocations: 57.44 kB / 0.5657 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.4624, allocations: 215.1 kB / 0.5659 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.463, allocations: 190.9 kB / 0.5661 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007385/0.4637, allocations: 0.6657 MB / 0.5667 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.4641, allocations: 316.1 kB / 0.567 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.4643, allocations: 155.9 kB / 0.5672 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4647, allocations: 208.4 kB / 0.5674 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.4648, allocations: 14.16 kB / 0.5674 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.4653, allocations: 299.2 kB / 0.5677 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4655, allocations: 112 kB / 0.5678 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.4656, allocations: 176.6 kB / 0.568 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.4662, allocations: 383.1 kB / 0.5683 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4662, allocations: 0 / 0.5683 GB, free: 30.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4662, allocations: 0 / 0.5683 GB, free: 30.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4662, allocations: 5.875 kB / 0.5683 GB, free: 30.7 MB / 446.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.0008523/0.4671, allocations: 0.5785 MB / 0.5689 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4671, allocations: 14.62 kB / 0.5689 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.4681, allocations: 139.9 kB / 0.569 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.4684, allocations: 288.5 kB / 0.5693 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.4685, allocations: 21.41 kB / 0.5693 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.4685, allocations: 26.94 kB / 0.5694 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.4692, allocations: 470.2 kB / 0.5698 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4692, allocations: 0 / 0.5698 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.4693, allocations: 12.34 kB / 0.5698 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.4693, allocations: 34.28 kB / 0.5698 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.4698, allocations: 320.6 kB / 0.5702 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.4717, allocations: 2.194 MB / 0.5723 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.4721, allocations: 261.9 kB / 0.5725 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.4723, allocations: 113.3 kB / 0.5727 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.4724, allocations: 1.938 kB / 0.5727 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4724, allocations: 35.84 kB / 0.5727 GB, free: 27.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.4724, allocations: 0 / 0.5727 GB, free: 27.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005831/0.473, allocations: 307.8 kB / 0.573 GB, free: 27.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.473, allocations: 54.94 kB / 0.573 GB, free: 27.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.4733, allocations: 264.1 kB / 0.5733 GB, free: 26.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4733, allocations: 27.52 kB / 0.5733 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4735, allocations: 208.1 kB / 0.5735 GB, free: 26.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.4735, allocations: 47.77 kB / 0.5736 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.4735, allocations: 27.56 kB / 0.5736 GB, free: 26.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.4736, allocations: 335.6 kB / 0.5739 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4737, allocations: 55.03 kB / 0.574 GB, free: 26.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4739, allocations: 152.8 kB / 0.5741 GB, free: 26.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.4741, allocations: 223.7 kB / 0.5743 GB, free: 26.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4741, allocations: 1.688 kB / 0.5743 GB, free: 26.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004004/0.4745, allocations: 261.4 kB / 0.5746 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4746, allocations: 7.469 kB / 0.5746 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4746, allocations: 4.469 kB / 0.5746 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.4747, allocations: 26.66 kB / 0.5746 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4749, allocations: 53.16 kB / 0.5747 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008206/0.4758, allocations: 1.321 MB / 0.5759 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.476, allocations: 24.83 kB / 0.576 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.476, allocations: 10.41 kB / 0.576 GB, free: 24.55 MB / 446.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.000158/0.4761, allocations: 170.2 kB / 0.5761 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.4762, allocations: 32.25 kB / 0.5762 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.4763, allocations: 31.48 kB / 0.5762 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4763, allocations: 2.906 kB / 0.5762 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4763, allocations: 0 / 0.5762 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4763, allocations: 3.203 kB / 0.5762 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008602/0.4771, allocations: 0.705 MB / 0.5769 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4772, allocations: 1.625 kB / 0.5769 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.4773, allocations: 21.5 kB / 0.5769 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.284e-05/0.4773, allocations: 29.48 kB / 0.5769 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4774, allocations: 6.5 kB / 0.577 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00071/0.4781, allocations: 1.316 MB / 0.5782 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4781, allocations: 5.938 kB / 0.5782 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.4784, allocations: 313.8 kB / 0.5785 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.4785, allocations: 119.1 kB / 0.5787 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4786, allocations: 8.375 kB / 0.5787 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4787, allocations: 11 kB / 0.5787 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4788, allocations: 15.08 kB / 0.5787 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4788, allocations: 5.719 kB / 0.5787 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.479, allocations: 190.9 kB / 0.5789 GB, free: 22.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.479, allocations: 0 / 0.5789 GB, free: 22.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.4794, allocations: 78 kB / 0.579 GB, free: 22 MB / 446.1 MB 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 9.62e-05/0.4795, allocations: 106.3 kB / 0.5791 GB, free: 21.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.4799, allocations: 279.6 kB / 0.5793 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.48, allocations: 0 / 0.5793 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.4802, allocations: 182 kB / 0.5795 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.4807, allocations: 61.56 kB / 0.5796 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.4816, allocations: 0.7084 MB / 0.5802 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4818, allocations: 0.7971 MB / 0.581 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.4819, allocations: 21.66 kB / 0.581 GB, free: 20.37 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4819, allocations: 0 / 0.581 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Templates: time 0.01008/0.492, allocations: 4.348 MB / 0.5853 GB, free: 20.05 MB / 446.1 MB 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)