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.001135/0.001136, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001483/0.001483, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.406/1.406, 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.8953/0.8953, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.89 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.415, allocations: 77.92 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.00577/0.4208, allocations: 3.069 MB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.4238, allocations: 1.316 MB / 0.5715 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/0.4242, allocations: 3.906 kB / 0.5715 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4256, allocations: 335.3 kB / 0.5718 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.4263, allocations: 148.2 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.427, allocations: 140 kB / 0.5721 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.4277, allocations: 304.3 kB / 0.5724 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.4284, allocations: 233 kB / 0.5726 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.4288, allocations: 126 kB / 0.5727 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.4293, allocations: 138.4 kB / 0.5728 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.4293, allocations: 19.47 kB / 0.5729 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.4298, allocations: 166.2 kB / 0.573 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.43, allocations: 86.47 kB / 0.5731 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.4302, allocations: 108.5 kB / 0.5732 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.4309, allocations: 331.8 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.431, allocations: 0.9688 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.431, allocations: 1.125 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.431, allocations: 0.875 kB / 0.5735 GB, free: 28.71 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.001392/0.4324, allocations: 0.5119 MB / 0.574 GB, free: 28.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.868e-05/0.4325, allocations: 10 kB / 0.574 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.4334, allocations: 77.34 kB / 0.5741 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.4338, allocations: 244.7 kB / 0.5743 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.4338, allocations: 12.72 kB / 0.5743 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.4339, allocations: 17.62 kB / 0.5744 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.4345, allocations: 312.5 kB / 0.5747 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4345, allocations: 0 / 0.5747 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.4346, allocations: 8.062 kB / 0.5747 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.4346, allocations: 21.03 kB / 0.5747 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.4351, allocations: 198 kB / 0.5749 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.4367, allocations: 1.467 MB / 0.5763 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.437, allocations: 178.1 kB / 0.5765 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.4371, allocations: 36.45 kB / 0.5765 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.4371, allocations: 0 / 0.5765 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4371, allocations: 38.89 kB / 0.5765 GB, free: 26.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4371, allocations: 0 / 0.5765 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004944/0.4376, allocations: 220.1 kB / 0.5768 GB, free: 26.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4377, allocations: 56.59 kB / 0.5768 GB, free: 25.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.4379, allocations: 203.3 kB / 0.577 GB, free: 25.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.4379, allocations: 26.86 kB / 0.577 GB, free: 25.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.438, allocations: 163.1 kB / 0.5772 GB, free: 25.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.438, allocations: 26.97 kB / 0.5772 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.4381, allocations: 35.25 kB / 0.5772 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.4382, allocations: 327.4 kB / 0.5776 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.4382, allocations: 40.84 kB / 0.5776 GB, free: 25.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.4383, allocations: 98.28 kB / 0.5777 GB, free: 25.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4385, allocations: 151.4 kB / 0.5778 GB, free: 25.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4385, allocations: 5.031 kB / 0.5778 GB, free: 25.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003226/0.4389, allocations: 188.9 kB / 0.578 GB, free: 24.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4389, allocations: 8.375 kB / 0.578 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4389, allocations: 1.906 kB / 0.578 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.4391, allocations: 26.14 kB / 0.5781 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4393, allocations: 28.05 kB / 0.5781 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009726/0.4402, allocations: 1.422 MB / 0.5795 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4404, allocations: 17.81 kB / 0.5795 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4404, allocations: 13.16 kB / 0.5795 GB, free: 23.52 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.0001367/0.4406, allocations: 145.7 kB / 0.5796 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4406, allocations: 12.81 kB / 0.5797 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.4407, allocations: 18.61 kB / 0.5797 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4407, allocations: 1.984 kB / 0.5797 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4407, allocations: 2.656 kB / 0.5797 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4407, allocations: 0.8906 kB / 0.5797 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.4412, allocations: 448.5 kB / 0.5801 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4413, allocations: 6.531 kB / 0.5801 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.4413, allocations: 6.781 kB / 0.5801 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.629e-05/0.4414, allocations: 24.31 kB / 0.5801 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4414, allocations: 2 kB / 0.5801 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000771/0.4422, allocations: 1.419 MB / 0.5815 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4422, allocations: 80 / 0.5815 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.4424, allocations: 226.5 kB / 0.5817 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.4425, allocations: 98.75 kB / 0.5818 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4425, allocations: 1.672 kB / 0.5818 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4426, allocations: 5.75 kB / 0.5818 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.4427, allocations: 3.938 kB / 0.5818 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.4427, allocations: 6.969 kB / 0.5819 GB, free: 21.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.4428, allocations: 143.3 kB / 0.582 GB, free: 21.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4428, allocations: 0 / 0.582 GB, free: 21.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.4432, allocations: 53.16 kB / 0.582 GB, free: 21.17 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.0001101/0.4433, allocations: 101.9 kB / 0.5821 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.4437, allocations: 213.1 kB / 0.5823 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4437, allocations: 1.625 kB / 0.5823 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.4439, allocations: 153.5 kB / 0.5825 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4443, allocations: 36.84 kB / 0.5825 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.4451, allocations: 353.8 kB / 0.5829 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.4453, allocations: 0.748 MB / 0.5836 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4455, allocations: 24.84 kB / 0.5836 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.4455, allocations: 15.69 kB / 0.5836 GB, free: 19.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4455, allocations: 0 / 0.5836 GB, free: 19.87 MB / 446.1 MB Notification: Performance of Templates: time 0.005551/0.4511, allocations: 1.745 MB / 0.5853 GB, free: 19.36 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)