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.001267/0.001267, allocations: 107.4 kB / 17.04 MB, free: 6.055 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.001095/0.001095, allocations: 196 kB / 17.98 MB, free: 5.141 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.341/1.341, 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.7984/0.7984, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.83 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004439/0.3405, allocations: 3.053 MB / 0.5606 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.3433, allocations: 1.327 MB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.3437, allocations: 4 kB / 0.5619 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.3448, allocations: 332.2 kB / 0.5622 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.3452, allocations: 144.5 kB / 0.5623 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.3457, allocations: 141.3 kB / 0.5624 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.3461, allocations: 304.5 kB / 0.5627 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.3465, allocations: 239.3 kB / 0.563 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3467, allocations: 117.8 kB / 0.5631 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.347, allocations: 140.2 kB / 0.5632 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.347, allocations: 22.53 kB / 0.5632 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3473, allocations: 168.5 kB / 0.5634 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.3474, allocations: 78.77 kB / 0.5635 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3475, allocations: 110.5 kB / 0.5636 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.348, allocations: 337.6 kB / 0.5639 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.348, allocations: 2.531 kB / 0.5639 GB, free: 32.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.348, allocations: 0 / 0.5639 GB, free: 32.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.348, allocations: 0 / 0.5639 GB, free: 32.76 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.0007761/0.3488, allocations: 0.5225 MB / 0.5644 GB, free: 32.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3489, allocations: 9.844 kB / 0.5644 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.3494, allocations: 75.5 kB / 0.5645 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.3498, allocations: 246.1 kB / 0.5647 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3498, allocations: 12.62 kB / 0.5647 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3498, allocations: 25.08 kB / 0.5648 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.3502, allocations: 301.4 kB / 0.565 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3503, allocations: 3.938 kB / 0.565 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3503, allocations: 7.156 kB / 0.5651 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.3503, allocations: 19.95 kB / 0.5651 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.3506, allocations: 196 kB / 0.5653 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3518, allocations: 1.461 MB / 0.5667 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3521, allocations: 174.5 kB / 0.5669 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.3522, allocations: 35.02 kB / 0.5669 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.3522, allocations: 2.781 kB / 0.5669 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3522, allocations: 36.38 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3522, allocations: 2 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004676/0.3527, allocations: 219.8 kB / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.3527, allocations: 57.48 kB / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3529, allocations: 196.3 kB / 0.5674 GB, free: 29.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.3529, allocations: 26.73 kB / 0.5674 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.353, allocations: 171.2 kB / 0.5676 GB, free: 29.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.353, allocations: 29.38 kB / 0.5676 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3531, allocations: 38.8 kB / 0.5676 GB, free: 29.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.3532, allocations: 329.6 kB / 0.5679 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.3532, allocations: 32.56 kB / 0.568 GB, free: 29.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.3533, allocations: 98.73 kB / 0.5681 GB, free: 29.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3535, allocations: 153 kB / 0.5682 GB, free: 29.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3535, allocations: 1.312 kB / 0.5682 GB, free: 29.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002799/0.3538, allocations: 194 kB / 0.5684 GB, free: 29.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3538, allocations: 6.703 kB / 0.5684 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3538, allocations: 3.875 kB / 0.5684 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.3539, allocations: 29.25 kB / 0.5684 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.354, allocations: 26.89 kB / 0.5685 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007403/0.3548, allocations: 1.42 MB / 0.5699 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3549, allocations: 17.12 kB / 0.5699 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.355, allocations: 6.531 kB / 0.5699 GB, free: 27.56 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 9.785e-05/0.3551, allocations: 156.1 kB / 0.57 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3551, allocations: 14.91 kB / 0.57 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.3551, allocations: 20.97 kB / 0.5701 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3551, allocations: 1.062 kB / 0.5701 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3552, allocations: 1.344 kB / 0.5701 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3552, allocations: 1.297 kB / 0.5701 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.3556, allocations: 445.9 kB / 0.5705 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3556, allocations: 0.9375 kB / 0.5705 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.3557, allocations: 7.062 kB / 0.5705 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/0.3557, allocations: 24.62 kB / 0.5705 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3558, allocations: 0.5938 kB / 0.5705 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006421/0.3564, allocations: 1.426 MB / 0.5719 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3564, allocations: 0.5625 kB / 0.5719 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3566, allocations: 216.3 kB / 0.5721 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3567, allocations: 99.78 kB / 0.5722 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3567, allocations: 1.25 kB / 0.5722 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3568, allocations: 4.703 kB / 0.5722 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.3568, allocations: 8.766 kB / 0.5722 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3569, allocations: 4.312 kB / 0.5722 GB, free: 25.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.357, allocations: 147.3 kB / 0.5724 GB, free: 25.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.357, allocations: 0 / 0.5724 GB, free: 25.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.3573, allocations: 52.5 kB / 0.5724 GB, free: 25.21 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 7.665e-05/0.3574, allocations: 96.06 kB / 0.5725 GB, free: 25.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.3577, allocations: 220.3 kB / 0.5727 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3577, allocations: 1.562 kB / 0.5727 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.3579, allocations: 148.9 kB / 0.5729 GB, free: 24.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3582, allocations: 31.23 kB / 0.5729 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.3587, allocations: 357.1 kB / 0.5732 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.359, allocations: 0.7449 MB / 0.574 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.3591, allocations: 28.52 kB / 0.574 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.3591, allocations: 14.47 kB / 0.574 GB, free: 23.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3591, allocations: 1.125 kB / 0.574 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Templates: time 0.004459/0.3636, allocations: 1.733 MB / 0.5757 GB, free: 23.8 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)