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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 121.2 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 189.5 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8035/0.8035, allocations: 128.4 MB / 432.4 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.83 kB / 0.5987 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3587, allocations: 83.26 MB / 0.6801 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02363/0.3824, allocations: 22.93 MB / 0.7025 GB, free: 5.348 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.03568/0.418, allocations: 17.78 MB / 0.7198 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004228/0.4223, allocations: 115.4 kB / 0.7199 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01429/0.4365, allocations: 4.218 MB / 0.724 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.4508, allocations: 3.573 MB / 0.7275 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.4545, allocations: 1.319 MB / 0.7288 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009107/0.4636, allocations: 5.792 MB / 0.7345 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0043/0.4679, allocations: 2.804 MB / 0.7372 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.4723, allocations: 2.488 MB / 0.7396 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.4772, allocations: 2.506 MB / 0.7421 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009326/0.4781, allocations: 372 kB / 0.7424 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.4806, allocations: 1.049 MB / 0.7435 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.482, allocations: 1.226 MB / 0.7447 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.4851, allocations: 1.994 MB / 0.7466 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00872/0.4938, allocations: 5.203 MB / 0.7517 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4938, allocations: 0 / 0.7517 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4938, allocations: 0 / 0.7517 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002397/0.4941, allocations: 0 / 0.7517 GB, free: 5.555 MB / 0.5606 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.01283/0.5069, allocations: 4.73 MB / 0.7563 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.507, allocations: 8.031 kB / 0.7563 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.5229, allocations: 3.283 MB / 0.7595 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.5276, allocations: 2.25 MB / 0.7617 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004758/0.5281, allocations: 470.3 kB / 0.7622 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.5287, allocations: 235.9 kB / 0.7624 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.5397, allocations: 4.81 MB / 0.7671 GB, free: 5.383 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.5397, allocations: 8 kB / 0.7671 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.5401, allocations: 104 kB / 0.7672 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.5403, allocations: 172.8 kB / 0.7674 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.5541, allocations: 5.194 MB / 0.7724 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02411/0.5782, allocations: 14.42 MB / 0.7865 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.5883, allocations: 3.257 MB / 0.7897 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003813/0.5921, allocations: 1.381 MB / 0.7911 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.5922, allocations: 21.3 kB / 0.7911 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004506/0.5967, allocations: 1.802 MB / 0.7928 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 3.827e-06/0.5967, allocations: 0 / 0.7928 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1302/0.7269, allocations: 28.21 MB / 0.8204 GB, free: 13.34 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000383/0.7273, allocations: 0.4889 MB / 0.8209 GB, free: 12.74 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.7312, allocations: 2.293 MB / 0.8231 GB, free: 10.44 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.7316, allocations: 77.7 kB / 0.8232 GB, free: 10.36 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.733, allocations: 1.46 MB / 0.8246 GB, free: 8.883 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.7341, allocations: 0.8598 MB / 0.8254 GB, free: 8.016 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.7352, allocations: 416.5 kB / 0.8258 GB, free: 7.602 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7353, allocations: 301.1 kB / 0.8261 GB, free: 7.305 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005601/0.7409, allocations: 1.929 MB / 0.828 GB, free: 5.371 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005844/0.7467, allocations: 2.239 MB / 0.8302 GB, free: 3.047 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.758, allocations: 4.165 MB / 0.8343 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.758, allocations: 4 kB / 0.8343 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01967/0.7777, allocations: 6.479 MB / 0.8406 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.7779, allocations: 148.6 kB / 0.8407 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.7779, allocations: 8 kB / 0.8407 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.7884, allocations: 2.926 MB / 0.8436 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.7913, allocations: 487.2 kB / 0.8441 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0428/0.8341, allocations: 18.86 MB / 0.8625 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/0.8381, allocations: 319.6 kB / 0.8628 GB, free: 1.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004694/0.8386, allocations: 91.97 kB / 0.8629 GB, free: 1.07 MB / 0.67 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.001878/0.8405, allocations: 0.6988 MB / 0.8636 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/0.8413, allocations: 349.9 kB / 0.8639 GB, free: 20 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3097/1.151, allocations: 379.6 kB / 0.8642 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/1.151, allocations: 28.12 kB / 0.8643 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.239e-05/1.151, allocations: 9.594 kB / 0.8643 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.151, allocations: 13.03 kB / 0.8643 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/1.157, allocations: 3.629 MB / 0.8678 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.157, allocations: 1.766 kB / 0.8678 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.159, allocations: 418.4 kB / 0.8682 GB, free: 163.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009868/1.169, allocations: 2.868 MB / 0.871 GB, free: 163.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004772/1.169, allocations: 55.53 kB / 0.8711 GB, free: 163.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03583/1.205, allocations: 18.64 MB / 0.8893 GB, free: 154.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.205, allocations: 0 / 0.8893 GB, free: 154.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.223, allocations: 6.116 MB / 0.8953 GB, free: 151.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/1.224, allocations: 0.7075 MB / 0.896 GB, free: 150.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/1.225, allocations: 47.77 kB / 0.896 GB, free: 150.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.228, allocations: 318.2 kB / 0.8963 GB, free: 150.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/1.229, allocations: 350.8 kB / 0.8966 GB, free: 150.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.229, allocations: 69.59 kB / 0.8967 GB, free: 150.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001861/1.231, allocations: 1.535 MB / 0.8982 GB, free: 149.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.231, allocations: 0 / 0.8982 GB, free: 149.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002288/1.233, allocations: 1.052 MB / 0.8992 GB, free: 149.6 MB / 0.67 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.0003001/1.233, allocations: 163.9 kB / 0.8994 GB, free: 149.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.254, allocations: 6.311 MB / 0.9056 GB, free: 145.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.254, allocations: 4 kB / 0.9056 GB, free: 145.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01554/1.269, allocations: 3.932 MB / 0.9094 GB, free: 141.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/1.274, allocations: 1.135 MB / 0.9105 GB, free: 140.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.285, allocations: 6.974 MB / 0.9173 GB, free: 133.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.286, allocations: 2.238 MB / 0.9195 GB, free: 131.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.287, allocations: 203.4 kB / 0.9197 GB, free: 131.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.273e-06/1.287, allocations: 0 / 0.9197 GB, free: 131.2 MB / 0.67 GB Notification: Performance of Templates: time 0.07121/1.359, allocations: 80.38 MB / 0.9982 GB, free: 51.13 MB / 0.67 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: 17.570324044907466] Failed to read output from testmodel.py, exit status != 0: 1.36629908089526 1.373405437 0.877487562 Calling exit ...