Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001072/0.001072, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00122/0.00122, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8744/0.8744, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.008e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01489/0.01491, allocations: 20.94 MB / 1.021 GB, free: 8 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.03075, allocations: 16.65 MB / 1.038 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.03249, allocations: 174.6 kB / 1.038 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.03702, allocations: 4.171 MB / 1.042 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4311/0.4681, allocations: 3.693 MB / 1.045 GB, free: 45.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.4705, allocations: 1.322 MB / 1.047 GB, free: 45.66 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.4742, allocations: 5.954 MB / 1.053 GB, free: 44.6 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.4761, allocations: 2.843 MB / 1.055 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.4785, allocations: 3.688 MB / 1.059 GB, free: 43.9 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.4799, allocations: 1.921 MB / 1.061 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.4802, allocations: 364.2 kB / 1.061 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.4812, allocations: 0.964 MB / 1.062 GB, free: 43.65 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.4818, allocations: 1.267 MB / 1.063 GB, free: 43.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/0.4826, allocations: 1.369 MB / 1.065 GB, free: 43.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.4852, allocations: 5.201 MB / 1.07 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4852, allocations: 4 kB / 1.07 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4853, allocations: 0 / 1.07 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.036e-05/0.4853, allocations: 0 / 1.07 GB, free: 42.09 MB / 0.9948 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.004302/0.4896, allocations: 4.6 MB / 1.074 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4896, allocations: 11.97 kB / 1.074 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007892/0.4975, allocations: 3.279 MB / 1.077 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.5001, allocations: 2.158 MB / 1.08 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.5003, allocations: 466.7 kB / 1.08 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.5006, allocations: 234.2 kB / 1.08 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/0.507, allocations: 5.367 MB / 1.085 GB, free: 35.17 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.507, allocations: 1.125 kB / 1.085 GB, free: 35.17 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.5073, allocations: 104.3 kB / 1.086 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.5074, allocations: 170.7 kB / 1.086 GB, free: 35.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007753/0.5152, allocations: 5.195 MB / 1.091 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.5261, allocations: 8.753 MB / 1.099 GB, free: 29.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005566/0.5316, allocations: 3.251 MB / 1.103 GB, free: 28.37 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.5338, allocations: 1.376 MB / 1.104 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.674e-05/0.5339, allocations: 22.8 kB / 1.104 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002618/0.5365, allocations: 2.447 MB / 1.106 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 2.906e-06/0.5365, allocations: 1.125 kB / 1.106 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06367/0.6002, allocations: 27.51 MB / 1.133 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/0.6003, allocations: 0.491 MB / 1.134 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.6021, allocations: 1.999 MB / 1.136 GB, free: 18.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.6023, allocations: 73.83 kB / 1.136 GB, free: 18.63 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000693/0.603, allocations: 1.474 MB / 1.137 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/0.6033, allocations: 0.8526 MB / 1.138 GB, free: 16.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.6039, allocations: 415.2 kB / 1.138 GB, free: 16.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.404e-05/0.6039, allocations: 306.4 kB / 1.139 GB, free: 16.08 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.6066, allocations: 2.066 MB / 1.141 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.6094, allocations: 2.778 MB / 1.143 GB, free: 13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005215/0.6146, allocations: 4.16 MB / 1.147 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6146, allocations: 3.344 kB / 1.147 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009043/0.6236, allocations: 6.583 MB / 1.154 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.6237, allocations: 153.3 kB / 1.154 GB, free: 6.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6237, allocations: 9.5 kB / 1.154 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/0.6285, allocations: 2.928 MB / 1.157 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.6298, allocations: 484.8 kB / 1.157 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.6513, allocations: 18.19 MB / 1.175 GB, free: 2.664 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.6535, allocations: 326.3 kB / 1.175 GB, free: 2.348 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.6536, allocations: 91.97 kB / 1.176 GB, free: 2.258 MB / 1.01 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.001294/0.6549, allocations: 0.7041 MB / 1.176 GB, free: 1.562 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.6553, allocations: 310.1 kB / 1.176 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.6556, allocations: 365.2 kB / 1.177 GB, free: 0.8906 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6556, allocations: 24 kB / 1.177 GB, free: 0.8672 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-05/0.6557, allocations: 19.56 kB / 1.177 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6557, allocations: 11.95 kB / 1.177 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.6585, allocations: 2.736 MB / 1.18 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.6585, allocations: 0 / 1.18 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6596, allocations: 414.2 kB / 1.18 GB, free: 13.73 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004989/0.6646, allocations: 2.869 MB / 1.183 GB, free: 10.85 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.6647, allocations: 47.97 kB / 1.183 GB, free: 10.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/0.6897, allocations: 17.96 MB / 1.2 GB, free: 8.664 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6897, allocations: 4 kB / 1.2 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.7, allocations: 6.079 MB / 1.206 GB, free: 2.625 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/0.701, allocations: 0.6028 MB / 1.207 GB, free: 2.023 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.7012, allocations: 55.41 kB / 1.207 GB, free: 1.973 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.7027, allocations: 320.4 kB / 1.207 GB, free: 1.66 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006896/0.7034, allocations: 362.5 kB / 1.208 GB, free: 1.309 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7035, allocations: 71.97 kB / 1.208 GB, free: 1.238 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.00127/0.7048, allocations: 1.309 MB / 1.209 GB, free: 15.92 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.7048, allocations: 0 / 1.209 GB, free: 15.92 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001875/0.7067, allocations: 1.043 MB / 1.21 GB, free: 14.88 MB / 1.057 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.0002727/0.7069, allocations: 170.1 kB / 1.21 GB, free: 14.71 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0116/0.7185, allocations: 6.45 MB / 1.216 GB, free: 8.164 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7185, allocations: 4 kB / 1.216 GB, free: 8.16 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008557/0.7271, allocations: 3.917 MB / 1.22 GB, free: 4.242 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.7295, allocations: 1.028 MB / 1.221 GB, free: 3.258 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/0.7383, allocations: 6.95 MB / 1.228 GB, free: 12.27 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.7396, allocations: 1.687 MB / 1.23 GB, free: 10.55 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/0.7402, allocations: 188.4 kB / 1.23 GB, free: 10.36 MB / 1.073 GB Notification: Performance of SimCode: time 1.152e-06/0.7402, allocations: 0 / 1.23 GB, free: 10.36 MB / 1.073 GB Notification: Performance of Templates: time 0.05782/0.7981, allocations: 79.58 MB / 1.308 GB, free: 11.18 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 13.635628649033606] Failed to read output from testmodel.py, exit status != 0: 0.8033399637788534 0.811759305 0.324784706 Calling exit ...