Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 111 kB / 17.03 MB, free: 6.094 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.001061/0.001061, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7061/0.7061, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3536, allocations: 76.14 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004622/0.3582, allocations: 3.056 MB / 0.5605 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3604, allocations: 1.325 MB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3605, allocations: 6.938 kB / 0.5618 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.3614, allocations: 324.2 kB / 0.5622 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3617, allocations: 145.4 kB / 0.5623 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.3621, allocations: 136.8 kB / 0.5624 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.3624, allocations: 310 kB / 0.5627 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.3629, allocations: 237.5 kB / 0.5629 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3631, allocations: 128.4 kB / 0.5631 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3633, allocations: 135.7 kB / 0.5632 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3634, allocations: 18.56 kB / 0.5632 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3637, allocations: 168.8 kB / 0.5634 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.3638, allocations: 84.66 kB / 0.5635 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3639, allocations: 105 kB / 0.5636 GB, free: 33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.3643, allocations: 331.6 kB / 0.5639 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3643, allocations: 3.562 kB / 0.5639 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3643, allocations: 0 / 0.5639 GB, free: 32.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3643, allocations: 0 / 0.5639 GB, free: 32.89 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006888/0.365, allocations: 0.518 MB / 0.5644 GB, free: 32.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3651, allocations: 10.45 kB / 0.5644 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.3656, allocations: 80.05 kB / 0.5645 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3659, allocations: 243.8 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.366, allocations: 21.62 kB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.366, allocations: 16.5 kB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.3664, allocations: 304.5 kB / 0.565 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3665, allocations: 1.156 kB / 0.565 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.3665, allocations: 14.33 kB / 0.565 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.3665, allocations: 17.12 kB / 0.5651 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.3668, allocations: 194.4 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.3682, allocations: 1.466 MB / 0.5667 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3684, allocations: 180.8 kB / 0.5668 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3685, allocations: 33.19 kB / 0.5669 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3685, allocations: 1.203 kB / 0.5669 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3685, allocations: 33.66 kB / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3685, allocations: 0 / 0.5669 GB, free: 30.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004004/0.3689, allocations: 232.8 kB / 0.5671 GB, free: 30.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.3689, allocations: 53.03 kB / 0.5672 GB, free: 30.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3692, allocations: 197.2 kB / 0.5674 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3692, allocations: 30.92 kB / 0.5674 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.3693, allocations: 162.2 kB / 0.5676 GB, free: 29.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3693, allocations: 30.34 kB / 0.5676 GB, free: 29.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.3694, allocations: 33.27 kB / 0.5676 GB, free: 29.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.3694, allocations: 330.8 kB / 0.5679 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.3695, allocations: 35.28 kB / 0.568 GB, free: 29.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.3696, allocations: 97.28 kB / 0.5681 GB, free: 29.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3698, allocations: 148.8 kB / 0.5682 GB, free: 29.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3698, allocations: 2.594 kB / 0.5682 GB, free: 29.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002986/0.3701, allocations: 193.3 kB / 0.5684 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3701, allocations: 6.75 kB / 0.5684 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3702, allocations: 3.375 kB / 0.5684 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.3703, allocations: 26.91 kB / 0.5684 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3705, allocations: 29.58 kB / 0.5685 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.3713, allocations: 1.423 MB / 0.5698 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3714, allocations: 17.67 kB / 0.5699 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3714, allocations: 7.844 kB / 0.5699 GB, free: 27.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001075/0.3716, allocations: 147.8 kB / 0.57 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3716, allocations: 16.16 kB / 0.57 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3716, allocations: 19.81 kB / 0.57 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3716, allocations: 1.484 kB / 0.57 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3716, allocations: 1.312 kB / 0.57 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3717, allocations: 1.734 kB / 0.57 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.3721, allocations: 446.1 kB / 0.5705 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3722, allocations: 4.547 kB / 0.5705 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3722, allocations: 8.203 kB / 0.5705 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.529e-05/0.3723, allocations: 28.55 kB / 0.5705 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3723, allocations: 1.469 kB / 0.5705 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007115/0.373, allocations: 1.416 MB / 0.5719 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.373, allocations: 1.578 kB / 0.5719 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3733, allocations: 216.9 kB / 0.5721 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.3733, allocations: 98.31 kB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3734, allocations: 3.172 kB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3735, allocations: 7.828 kB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.3735, allocations: 5.016 kB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3735, allocations: 2.156 kB / 0.5722 GB, free: 25.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3737, allocations: 147 kB / 0.5724 GB, free: 25.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3737, allocations: 0.5 kB / 0.5724 GB, free: 25.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.374, allocations: 52.75 kB / 0.5724 GB, free: 25.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001022/0.3741, allocations: 101.8 kB / 0.5725 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3745, allocations: 212 kB / 0.5727 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3745, allocations: 0 / 0.5727 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3746, allocations: 152.1 kB / 0.5729 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.375, allocations: 36.84 kB / 0.5729 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3756, allocations: 349.4 kB / 0.5732 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.3758, allocations: 0.7474 MB / 0.5739 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.3759, allocations: 29.47 kB / 0.574 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.376, allocations: 17.97 kB / 0.574 GB, free: 24.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.376, allocations: 0 / 0.574 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Templates: time 0.004768/0.3807, allocations: 1.73 MB / 0.5757 GB, free: 23.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)