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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 219.2 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9563/0.9563, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 70.92 kB / 0.6425 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1851, allocations: 89.17 MB / 0.7296 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0294/0.2145, allocations: 23.47 MB / 0.7525 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3414/0.5559, allocations: 18.18 MB / 0.7703 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.5596, allocations: 190.8 kB / 0.7705 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.5697, allocations: 4.351 MB / 0.7747 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.5805, allocations: 3.604 MB / 0.7782 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.5844, allocations: 1.319 MB / 0.7795 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.595, allocations: 5.798 MB / 0.7852 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008294/0.6033, allocations: 2.882 MB / 0.788 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00738/0.6107, allocations: 2.866 MB / 0.7908 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005678/0.6164, allocations: 2.322 MB / 0.7931 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.6183, allocations: 351.1 kB / 0.7934 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.6224, allocations: 1.04 MB / 0.7944 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.6249, allocations: 1.185 MB / 0.7956 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005317/0.6303, allocations: 1.961 MB / 0.7975 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009348/0.6396, allocations: 5.097 MB / 0.8025 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6396, allocations: 5.125 kB / 0.8025 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6396, allocations: 4 kB / 0.8025 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002216/0.6398, allocations: 0 / 0.8025 GB, free: 15.14 MB / 0.5919 GB 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.01659/0.6564, allocations: 4.618 MB / 0.807 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6565, allocations: 9.469 kB / 0.807 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/0.6732, allocations: 3.26 MB / 0.8102 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007389/0.6806, allocations: 2.187 MB / 0.8123 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/0.6812, allocations: 466.2 kB / 0.8128 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.6825, allocations: 232.7 kB / 0.813 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.6962, allocations: 4.7 MB / 0.8176 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.212e-05/0.6962, allocations: 0 / 0.8176 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007749/0.697, allocations: 103.2 kB / 0.8177 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/0.6972, allocations: 176.7 kB / 0.8178 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.7113, allocations: 5.176 MB / 0.8229 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.7397, allocations: 15.05 MB / 0.8376 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.7495, allocations: 3.146 MB / 0.8407 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003919/0.7534, allocations: 1.351 MB / 0.842 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.7536, allocations: 24.12 kB / 0.842 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00449/0.7581, allocations: 1.596 MB / 0.8436 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=163): time 4.128e-06/0.7581, allocations: 0 / 0.8436 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=250): time 0.1211/0.8792, allocations: 26.69 MB / 0.8696 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.8793, allocations: 89.34 kB / 0.8697 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.8827, allocations: 1.923 MB / 0.8716 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004301/0.8832, allocations: 69.7 kB / 0.8717 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.8848, allocations: 1.518 MB / 0.8731 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.886, allocations: 0.8565 MB / 0.874 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.887, allocations: 428.9 kB / 0.8744 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8872, allocations: 309.1 kB / 0.8747 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005301/0.8925, allocations: 1.859 MB / 0.8765 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005678/0.8982, allocations: 2.323 MB / 0.8788 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/0.9089, allocations: 4.266 MB / 0.8829 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/0.9089, allocations: 4 kB / 0.8829 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315) (initialization): time 0.01807/0.927, allocations: 6.297 MB / 0.8891 GB, free: 14.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.9271, allocations: 153.5 kB / 0.8892 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.9272, allocations: 15.94 kB / 0.8892 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008284/0.9354, allocations: 2.652 MB / 0.8918 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.9383, allocations: 0.5108 MB / 0.8923 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03969/0.978, allocations: 17.96 MB / 0.9099 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/0.9819, allocations: 331.7 kB / 0.9102 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004642/0.9823, allocations: 103.9 kB / 0.9103 GB, free: 8.738 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (178): * Single equations (assignments): 171 * 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,48.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.001806/0.9841, allocations: 0.714 MB / 0.911 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007846/0.9849, allocations: 318 kB / 0.9113 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009114/0.9858, allocations: 357.8 kB / 0.9116 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/0.9859, allocations: 24 kB / 0.9117 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-05/0.9859, allocations: 12 kB / 0.9117 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.292e-05/0.986, allocations: 11.95 kB / 0.9117 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/0.992, allocations: 3.483 MB / 0.9151 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.9921, allocations: 0 / 0.9151 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/0.9948, allocations: 419.3 kB / 0.9155 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008056/1.003, allocations: 2.589 MB / 0.918 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003749/1.003, allocations: 55.91 kB / 0.9181 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03782/1.041, allocations: 17.78 MB / 0.9354 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.041, allocations: 3.984 kB / 0.9354 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/1.058, allocations: 5.875 MB / 0.9412 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.06, allocations: 0.5785 MB / 0.9417 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/1.061, allocations: 40.19 kB / 0.9418 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.064, allocations: 319.5 kB / 0.9421 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/1.065, allocations: 362.4 kB / 0.9424 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/1.066, allocations: 71.97 kB / 0.9425 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002134/1.068, allocations: 1.256 MB / 0.9437 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.068, allocations: 0 / 0.9437 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003711/1.072, allocations: 0.9687 MB / 0.9447 GB, free: 5.254 MB / 0.7169 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 (varLoad5.count,varLoad4.count,varLoad3.count,varLoad2.count,varLoad1.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 {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004459/1.072, allocations: 167 kB / 0.9448 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.094, allocations: 6.171 MB / 0.9508 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.094, allocations: 8 kB / 0.9508 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01621/1.11, allocations: 3.791 MB / 0.9546 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/1.115, allocations: 1.032 MB / 0.9556 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/1.132, allocations: 6.838 MB / 0.9622 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00309/1.135, allocations: 2.233 MB / 0.9644 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.136, allocations: 183.4 kB / 0.9646 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/1.136, allocations: 0 / 0.9646 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of Templates: time 0.1316/1.268, allocations: 76.49 MB / 1.039 GB, free: 4.457 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.579267377965152] Failed to read output from testmodel.py, exit status != 0: 1.2804931080900133 1.303530868 0.659523721 Calling exit ...