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.001346/0.001346, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001489/0.001489, allocations: 212.7 kB / 23.75 MB, free: 4.445 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9544/0.9544, allocations: 149.9 MB / 463.8 MB, free: 10.38 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.002119/0.002119, allocations: 79.03 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1686, allocations: 89.17 MB / 0.7294 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02644/0.195, allocations: 21.25 MB / 0.7502 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4429/0.6379, allocations: 16.84 MB / 0.7666 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.6415, allocations: 172.2 kB / 0.7668 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.6518, allocations: 4.168 MB / 0.7708 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.6627, allocations: 3.596 MB / 0.7744 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.6667, allocations: 1.31 MB / 0.7756 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.6779, allocations: 5.804 MB / 0.7813 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005865/0.6838, allocations: 2.832 MB / 0.7841 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007054/0.6908, allocations: 2.827 MB / 0.7868 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.6964, allocations: 2.15 MB / 0.7889 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.698, allocations: 365.1 kB / 0.7893 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.7013, allocations: 0.9548 MB / 0.7902 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.7031, allocations: 1.207 MB / 0.7914 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003543/0.7066, allocations: 1.637 MB / 0.793 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007322/0.7139, allocations: 5.203 MB / 0.7981 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7139, allocations: 0 / 0.7981 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7139, allocations: 0 / 0.7981 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001673/0.7141, allocations: 1.125 kB / 0.7981 GB, free: 1.203 MB / 0.5762 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.01297/0.7271, allocations: 4.644 MB / 0.8026 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.7271, allocations: 9.156 kB / 0.8026 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.7442, allocations: 3.28 MB / 0.8058 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.7504, allocations: 2.16 MB / 0.8079 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005094/0.7509, allocations: 469.6 kB / 0.8084 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007818/0.7517, allocations: 233.9 kB / 0.8086 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.7641, allocations: 5.369 MB / 0.8138 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.7641, allocations: 0 / 0.8138 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.7645, allocations: 103.2 kB / 0.8139 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000187/0.7647, allocations: 175.5 kB / 0.8141 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.7782, allocations: 5.188 MB / 0.8192 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.7981, allocations: 8.753 MB / 0.8277 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.8085, allocations: 3.248 MB / 0.8309 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/0.8123, allocations: 1.369 MB / 0.8322 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.8125, allocations: 17.31 kB / 0.8322 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004956/0.8174, allocations: 2.457 MB / 0.8346 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 3.617e-06/0.8174, allocations: 4 kB / 0.8346 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1365/0.9539, allocations: 27.5 MB / 0.8615 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000344/0.9542, allocations: 0.4928 MB / 0.862 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.9576, allocations: 1.99 MB / 0.8639 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005327/0.9581, allocations: 81.69 kB / 0.864 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.9597, allocations: 1.468 MB / 0.8654 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.9607, allocations: 0.8611 MB / 0.8663 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/0.9616, allocations: 420.5 kB / 0.8667 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.9618, allocations: 309.1 kB / 0.867 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00572/0.9675, allocations: 2.066 MB / 0.869 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/0.9738, allocations: 2.778 MB / 0.8717 GB, free: 248 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.9855, allocations: 4.167 MB / 0.8758 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.9855, allocations: 4 kB / 0.8758 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02036/1.006, allocations: 6.58 MB / 0.8822 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/1.006, allocations: 158.7 kB / 0.8824 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/1.006, allocations: 8 kB / 0.8824 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/1.017, allocations: 2.916 MB / 0.8852 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/1.02, allocations: 487.2 kB / 0.8857 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0428/1.063, allocations: 18.21 MB / 0.9035 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.067, allocations: 327.6 kB / 0.9038 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/1.067, allocations: 87.97 kB / 0.9039 GB, free: 14.89 MB / 0.6856 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.001702/1.069, allocations: 0.7025 MB / 0.9045 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/1.07, allocations: 314.1 kB / 0.9048 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/1.071, allocations: 365.2 kB / 0.9052 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/1.071, allocations: 27.94 kB / 0.9052 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-05/1.071, allocations: 8 kB / 0.9052 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/1.071, allocations: 11.95 kB / 0.9052 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/1.075, allocations: 2.729 MB / 0.9079 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.075, allocations: 0 / 0.9079 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.078, allocations: 419.4 kB / 0.9083 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/1.088, allocations: 2.855 MB / 0.9111 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005331/1.089, allocations: 51.97 kB / 0.9111 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04208/1.131, allocations: 17.99 MB / 0.9287 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.131, allocations: 0 / 0.9287 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/1.15, allocations: 6.082 MB / 0.9346 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/1.153, allocations: 0.607 MB / 0.9352 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/1.154, allocations: 48 kB / 0.9353 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/1.157, allocations: 315.6 kB / 0.9356 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/1.158, allocations: 362.5 kB / 0.9359 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.159, allocations: 71.95 kB / 0.936 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00207/1.161, allocations: 1.313 MB / 0.9373 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.161, allocations: 4 kB / 0.9373 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003064/1.164, allocations: 1.043 MB / 0.9383 GB, free: 11.37 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 (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.0003711/1.164, allocations: 159 kB / 0.9385 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02433/1.188, allocations: 6.457 MB / 0.9448 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.188, allocations: 4.75 kB / 0.9448 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01907/1.207, allocations: 3.931 MB / 0.9486 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/1.212, allocations: 1.032 MB / 0.9496 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.229, allocations: 6.977 MB / 0.9564 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.231, allocations: 1.687 MB / 0.9581 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.233, allocations: 187.4 kB / 0.9582 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/1.233, allocations: 0 / 0.9582 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.1106/1.343, allocations: 79.66 MB / 1.036 GB, free: 7.379 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.025144373998046] Failed to read output from testmodel.py, exit status != 0: 1.3528850791044533 1.366924721 0.649626075 Calling exit ...