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.001573/0.001577, allocations: 104 kB / 16.27 MB, free: 5.977 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.001632/0.001632, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7862/0.7862, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 59.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4368, allocations: 77.92 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.00602/0.4429, allocations: 3.815 MB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003317/0.4463, allocations: 1.733 MB / 0.5726 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.4465, allocations: 11.09 kB / 0.5726 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.4479, allocations: 492.7 kB / 0.5731 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.4484, allocations: 221.6 kB / 0.5733 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.449, allocations: 210.6 kB / 0.5735 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.4496, allocations: 473.2 kB / 0.574 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.4502, allocations: 374 kB / 0.5743 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.4504, allocations: 196.3 kB / 0.5745 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.4508, allocations: 211.1 kB / 0.5747 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.4509, allocations: 28.16 kB / 0.5747 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.4514, allocations: 246.4 kB / 0.575 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4516, allocations: 124.3 kB / 0.5751 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.4518, allocations: 171 kB / 0.5752 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007612/0.4525, allocations: 0.496 MB / 0.5757 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4525, allocations: 1.875 kB / 0.5757 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4525, allocations: 0 / 0.5757 GB, free: 27.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4526, allocations: 1.406 kB / 0.5757 GB, free: 27.45 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.00106/0.4536, allocations: 0.6305 MB / 0.5763 GB, free: 26.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4537, allocations: 9.562 kB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009575/0.4547, allocations: 134.3 kB / 0.5765 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.455, allocations: 293.1 kB / 0.5768 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.455, allocations: 22.25 kB / 0.5768 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.4551, allocations: 30.86 kB / 0.5768 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.4557, allocations: 464.8 kB / 0.5773 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.4558, allocations: 5.312 kB / 0.5773 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4558, allocations: 12.12 kB / 0.5773 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.4559, allocations: 30.06 kB / 0.5773 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.4565, allocations: 322.2 kB / 0.5776 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.4586, allocations: 2.179 MB / 0.5797 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.459, allocations: 258.9 kB / 0.58 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.4593, allocations: 106.8 kB / 0.5801 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4593, allocations: 3.375 kB / 0.5801 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4593, allocations: 36.69 kB / 0.5801 GB, free: 24.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4593, allocations: 3.938 kB / 0.5801 GB, free: 24.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006452/0.46, allocations: 297.9 kB / 0.5804 GB, free: 23.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.46, allocations: 53.53 kB / 0.5805 GB, free: 23.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.4604, allocations: 275.2 kB / 0.5807 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4604, allocations: 31.08 kB / 0.5808 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4606, allocations: 212.2 kB / 0.581 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.4606, allocations: 51.11 kB / 0.581 GB, free: 23.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.4607, allocations: 49.31 kB / 0.5811 GB, free: 23.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.4608, allocations: 335 kB / 0.5814 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4609, allocations: 56.02 kB / 0.5814 GB, free: 23.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.4611, allocations: 147.3 kB / 0.5816 GB, free: 22.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.4615, allocations: 224 kB / 0.5818 GB, free: 22.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4615, allocations: 0 / 0.5818 GB, free: 22.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004498/0.4619, allocations: 263.4 kB / 0.582 GB, free: 22.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.462, allocations: 6.734 kB / 0.582 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.462, allocations: 3.188 kB / 0.582 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.4622, allocations: 27.73 kB / 0.5821 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4624, allocations: 48.89 kB / 0.5821 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.4634, allocations: 1.425 MB / 0.5835 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4636, allocations: 30.53 kB / 0.5835 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4637, allocations: 8.344 kB / 0.5835 GB, free: 21.17 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.0001777/0.4638, allocations: 165.3 kB / 0.5837 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4639, allocations: 25.3 kB / 0.5837 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.464, allocations: 35.19 kB / 0.5838 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.464, allocations: 8.344 kB / 0.5838 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.464, allocations: 0.7969 kB / 0.5838 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.464, allocations: 0.75 kB / 0.5838 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.4649, allocations: 0.7065 MB / 0.5845 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4649, allocations: 2.281 kB / 0.5845 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.465, allocations: 23.75 kB / 0.5845 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.4651, allocations: 28.12 kB / 0.5845 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4651, allocations: 4.094 kB / 0.5845 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007581/0.4659, allocations: 1.414 MB / 0.5859 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4659, allocations: 3.344 kB / 0.5859 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4662, allocations: 324.7 kB / 0.5862 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.4663, allocations: 108.3 kB / 0.5863 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.4664, allocations: 11.95 kB / 0.5863 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4665, allocations: 5.969 kB / 0.5863 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.4666, allocations: 23.42 kB / 0.5864 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4666, allocations: 9.25 kB / 0.5864 GB, free: 18.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.4668, allocations: 191.2 kB / 0.5865 GB, free: 18.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4668, allocations: 0 / 0.5865 GB, free: 18.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.4672, allocations: 84.06 kB / 0.5866 GB, free: 18.33 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 0.0001283/0.4674, allocations: 100.1 kB / 0.5867 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.4678, allocations: 278.1 kB / 0.587 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.4679, allocations: 3.938 kB / 0.587 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.4681, allocations: 180.6 kB / 0.5872 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.4686, allocations: 64.92 kB / 0.5872 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.4694, allocations: 0.5287 MB / 0.5877 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4697, allocations: 0.7961 MB / 0.5885 GB, free: 16.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.4698, allocations: 44.59 kB / 0.5886 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4699, allocations: 19.72 kB / 0.5886 GB, free: 16.7 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4699, allocations: 0 / 0.5886 GB, free: 16.7 MB / 446.1 MB Notification: Performance of Templates: time 0.005771/0.4757, allocations: 2.686 MB / 0.5912 GB, free: 15.4 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)