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.001595/0.001596, allocations: 99.75 kB / 15.98 MB, free: 6.355 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.001808/0.001808, allocations: 197.6 kB / 16.91 MB, free: 6.195 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7628/0.7628, allocations: 122.9 MB / 413.6 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3602, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.006374/0.3667, allocations: 3.109 MB / 0.5697 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3689, allocations: 1.307 MB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.3692, allocations: 2.938 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3703, allocations: 322.5 kB / 0.5713 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.3708, allocations: 130.1 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3712, allocations: 128.7 kB / 0.5716 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.3717, allocations: 304 kB / 0.5718 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.3722, allocations: 254.3 kB / 0.5721 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.3725, allocations: 128.7 kB / 0.5722 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.3728, allocations: 142.2 kB / 0.5723 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.3729, allocations: 19.06 kB / 0.5724 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3733, allocations: 169 kB / 0.5725 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.3734, allocations: 84.61 kB / 0.5726 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3736, allocations: 108.9 kB / 0.5727 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.3741, allocations: 353 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3742, allocations: 0.75 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3742, allocations: 0 / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3742, allocations: 0.625 kB / 0.573 GB, free: 28.82 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.0009688/0.3752, allocations: 0.5144 MB / 0.5736 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3752, allocations: 14.72 kB / 0.5736 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007069/0.3759, allocations: 75.88 kB / 0.5736 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3763, allocations: 237.6 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3763, allocations: 18.38 kB / 0.5739 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.3763, allocations: 16.44 kB / 0.5739 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.3768, allocations: 307.5 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3769, allocations: 1.625 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3769, allocations: 10.94 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.3769, allocations: 16.86 kB / 0.5742 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.3773, allocations: 198.3 kB / 0.5744 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3787, allocations: 1.471 MB / 0.5758 GB, free: 26.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.379, allocations: 175 kB / 0.576 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.379, allocations: 35.34 kB / 0.576 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3791, allocations: 2.312 kB / 0.576 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3791, allocations: 34.77 kB / 0.5761 GB, free: 26.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3791, allocations: 0 / 0.5761 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004696/0.3796, allocations: 226.2 kB / 0.5763 GB, free: 26.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3796, allocations: 53.47 kB / 0.5763 GB, free: 26.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3798, allocations: 199 kB / 0.5765 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3798, allocations: 26.86 kB / 0.5766 GB, free: 25.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.3799, allocations: 167.2 kB / 0.5767 GB, free: 25.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3799, allocations: 25.86 kB / 0.5767 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.38, allocations: 33.3 kB / 0.5768 GB, free: 25.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.38, allocations: 335.4 kB / 0.5771 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.3801, allocations: 35.56 kB / 0.5771 GB, free: 25.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.3802, allocations: 104 kB / 0.5772 GB, free: 25.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3804, allocations: 145.3 kB / 0.5774 GB, free: 25.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3804, allocations: 0 / 0.5774 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002961/0.3807, allocations: 190.3 kB / 0.5776 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3807, allocations: 9.797 kB / 0.5776 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3807, allocations: 1.75 kB / 0.5776 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.3809, allocations: 26.98 kB / 0.5776 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.381, allocations: 28.8 kB / 0.5776 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007984/0.3818, allocations: 1.429 MB / 0.579 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.382, allocations: 22.69 kB / 0.579 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.382, allocations: 7.188 kB / 0.579 GB, free: 23.62 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.0001166/0.3821, allocations: 152.2 kB / 0.5792 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3821, allocations: 10.69 kB / 0.5792 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3822, allocations: 19.61 kB / 0.5792 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3822, allocations: 2.438 kB / 0.5792 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3822, allocations: 1.781 kB / 0.5792 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3822, allocations: 0.875 kB / 0.5792 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3827, allocations: 450.8 kB / 0.5796 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3827, allocations: 0 / 0.5796 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3828, allocations: 7.531 kB / 0.5797 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.3828, allocations: 20.14 kB / 0.5797 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3829, allocations: 10.94 kB / 0.5797 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007086/0.3836, allocations: 1.411 MB / 0.5811 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3836, allocations: 5.812 kB / 0.5811 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3838, allocations: 217.8 kB / 0.5813 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.3839, allocations: 97.77 kB / 0.5814 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3839, allocations: 2 kB / 0.5814 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.384, allocations: 8.047 kB / 0.5814 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.384, allocations: 11.3 kB / 0.5814 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.384, allocations: 6.062 kB / 0.5814 GB, free: 21.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3842, allocations: 145.8 kB / 0.5815 GB, free: 21.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3842, allocations: 0 / 0.5815 GB, free: 21.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.3845, allocations: 53.19 kB / 0.5816 GB, free: 21.27 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 9.301e-05/0.3846, allocations: 96.45 kB / 0.5817 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.385, allocations: 218.3 kB / 0.5819 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.385, allocations: 4 kB / 0.5819 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3851, allocations: 146.2 kB / 0.582 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3855, allocations: 35.64 kB / 0.5821 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.3862, allocations: 433.2 kB / 0.5825 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3864, allocations: 0.7485 MB / 0.5832 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3865, allocations: 24.42 kB / 0.5832 GB, free: 19.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.3866, allocations: 15.69 kB / 0.5832 GB, free: 19.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3866, allocations: 0 / 0.5832 GB, free: 19.89 MB / 446.1 MB Notification: Performance of Templates: time 0.005095/0.3917, allocations: 1.758 MB / 0.585 GB, free: 19.44 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)