Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 107.6 kB / 17.02 MB, free: 5.656 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.001885/0.001885, allocations: 193.2 kB / 17.97 MB, free: 5.062 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 76.15 MB / 0.5576 GB, free: 36.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0202/0.3727, allocations: 22.6 MB / 0.5796 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02332/0.396, allocations: 17.64 MB / 0.5969 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.3999, allocations: 111.9 kB / 0.597 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008967/0.4089, allocations: 4.173 MB / 0.601 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.4193, allocations: 3.506 MB / 0.6045 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.423, allocations: 1.319 MB / 0.6057 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008019/0.431, allocations: 5.782 MB / 0.6114 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.4356, allocations: 3.6 MB / 0.6149 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.44, allocations: 2.41 MB / 0.6173 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.4442, allocations: 2.448 MB / 0.6197 GB, free: 4.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006531/0.4449, allocations: 368 kB / 0.62 GB, free: 4.602 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.447, allocations: 1.033 MB / 0.621 GB, free: 3.566 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.448, allocations: 1.199 MB / 0.6222 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.4502, allocations: 1.998 MB / 0.6241 GB, free: 364 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.4558, allocations: 5.171 MB / 0.6292 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4559, allocations: 0 / 0.6292 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4559, allocations: 0 / 0.6292 GB, free: 11.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.456, allocations: 0 / 0.6292 GB, free: 11.17 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009261/0.4653, allocations: 4.612 MB / 0.6337 GB, free: 6.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4653, allocations: 12.03 kB / 0.6337 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/0.4799, allocations: 3.258 MB / 0.6369 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.4853, allocations: 2.236 MB / 0.6391 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004555/0.4857, allocations: 462.3 kB / 0.6395 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008058/0.4865, allocations: 243.9 kB / 0.6397 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009569/0.4961, allocations: 4.806 MB / 0.6444 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.997e-05/0.4962, allocations: 0 / 0.6444 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.4965, allocations: 108 kB / 0.6445 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.4967, allocations: 180.7 kB / 0.6447 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.5083, allocations: 5.187 MB / 0.6498 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.5293, allocations: 14.4 MB / 0.6638 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008608/0.5379, allocations: 3.396 MB / 0.6672 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003136/0.5411, allocations: 1.467 MB / 0.6686 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.5412, allocations: 21.3 kB / 0.6686 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.5448, allocations: 1.799 MB / 0.6704 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=163): time 2.976e-06/0.5448, allocations: 0 / 0.6704 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=250): time 0.1089/0.6537, allocations: 28.2 MB / 0.6979 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.654, allocations: 0.5006 MB / 0.6984 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.6571, allocations: 2.296 MB / 0.7006 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003898/0.6575, allocations: 77.7 kB / 0.7007 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.6587, allocations: 1.43 MB / 0.7021 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008429/0.6596, allocations: 0.824 MB / 0.7029 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008257/0.6604, allocations: 420.4 kB / 0.7033 GB, free: 13.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6606, allocations: 301.1 kB / 0.7036 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/0.6653, allocations: 1.929 MB / 0.7055 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004906/0.6702, allocations: 2.227 MB / 0.7077 GB, free: 8.652 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009703/0.6799, allocations: 4.161 MB / 0.7117 GB, free: 4.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.68, allocations: 4 kB / 0.7117 GB, free: 4.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01726/0.6973, allocations: 6.547 MB / 0.7181 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.6974, allocations: 144.5 kB / 0.7183 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6974, allocations: 8 kB / 0.7183 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009189/0.7066, allocations: 2.926 MB / 0.7211 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.7093, allocations: 499.2 kB / 0.7216 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03638/0.7457, allocations: 18.83 MB / 0.74 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/0.7493, allocations: 315.6 kB / 0.7403 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.7496, allocations: 92.12 kB / 0.7404 GB, free: 6.641 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.7509, allocations: 0.7033 MB / 0.7411 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.7516, allocations: 336.2 kB / 0.7414 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.7522, allocations: 376.1 kB / 0.7417 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7522, allocations: 31.94 kB / 0.7418 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-05/0.7523, allocations: 12 kB / 0.7418 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.7523, allocations: 11.95 kB / 0.7418 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.7568, allocations: 3.643 MB / 0.7454 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.7569, allocations: 4 kB / 0.7454 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.7591, allocations: 411.4 kB / 0.7458 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2636/1.023, allocations: 2.871 MB / 0.7486 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/1.023, allocations: 51.27 kB / 0.7486 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03669/1.06, allocations: 18.61 MB / 0.7668 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.06, allocations: 1.719 kB / 0.7668 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.076, allocations: 6.172 MB / 0.7728 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.079, allocations: 0.698 MB / 0.7735 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/1.079, allocations: 52.31 kB / 0.7735 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.082, allocations: 314.4 kB / 0.7738 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/1.084, allocations: 353.7 kB / 0.7742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/1.084, allocations: 73.03 kB / 0.7742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001958/1.086, allocations: 1.532 MB / 0.7757 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.086, allocations: 0 / 0.7757 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004133/1.09, allocations: 1.044 MB / 0.7768 GB, free: 149.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004792/1.09, allocations: 169.4 kB / 0.7769 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.11, allocations: 6.472 MB / 0.7832 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.11, allocations: 2.562 kB / 0.7832 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/1.125, allocations: 4.059 MB / 0.7872 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/1.129, allocations: 1.132 MB / 0.7883 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.141, allocations: 6.695 MB / 0.7949 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.143, allocations: 2.23 MB / 0.797 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001953/1.145, allocations: 0.5075 MB / 0.7975 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/1.145, allocations: 189.2 kB / 0.7977 GB, free: 138 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/1.145, allocations: 0 / 0.7977 GB, free: 138 MB / 0.5762 GB Notification: Performance of Templates: time 0.08696/1.232, allocations: 74.83 MB / 0.8708 GB, free: 64.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)