Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001624/0.001624, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001776/0.001776, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.799/2.799, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Buildings 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.002157/0.002157, allocations: 64.16 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3475, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02851/0.376, allocations: 21.26 MB / 1.305 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.4049, allocations: 16.84 MB / 1.321 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.4083, allocations: 170.7 kB / 1.321 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.4204, allocations: 4.168 MB / 1.325 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.4323, allocations: 3.597 MB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.4361, allocations: 1.314 MB / 1.33 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009413/0.4455, allocations: 5.781 MB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.4506, allocations: 2.83 MB / 1.338 GB, free: 3.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.4563, allocations: 2.835 MB / 1.341 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004672/0.461, allocations: 2.147 MB / 1.343 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.462, allocations: 364 kB / 1.344 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.4646, allocations: 0.9555 MB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.4662, allocations: 1.219 MB / 1.346 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002922/0.4691, allocations: 1.625 MB / 1.347 GB, free: 10.49 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007632/0.4767, allocations: 5.199 MB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4767, allocations: 0 / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4767, allocations: 0 / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001789/0.4769, allocations: 0 / 1.352 GB, free: 5.273 MB / 1.045 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.01259/0.4895, allocations: 4.635 MB / 1.357 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4895, allocations: 8.031 kB / 1.357 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01664/0.5062, allocations: 3.283 MB / 1.36 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005541/0.5117, allocations: 2.162 MB / 1.362 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/0.5122, allocations: 466.3 kB / 1.363 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006642/0.5129, allocations: 243.8 kB / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.5248, allocations: 5.364 MB / 1.368 GB, free: 4.633 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/0.5248, allocations: 0 / 1.368 GB, free: 4.633 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003239/0.5251, allocations: 99.98 kB / 1.368 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.5253, allocations: 172.8 kB / 1.368 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.5395, allocations: 5.194 MB / 1.374 GB, free: 15.15 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/0.5603, allocations: 8.752 MB / 1.382 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.5706, allocations: 3.243 MB / 1.385 GB, free: 3.027 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/0.5745, allocations: 1.373 MB / 1.387 GB, free: 1.652 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.5747, allocations: 25.3 kB / 1.387 GB, free: 1.629 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004973/0.5797, allocations: 2.454 MB / 1.389 GB, free: 14.95 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.429e-06/0.5797, allocations: 0 / 1.389 GB, free: 14.95 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1305/0.7101, allocations: 27.5 MB / 1.416 GB, free: 3.398 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003297/0.7104, allocations: 0.4889 MB / 1.416 GB, free: 2.801 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.7136, allocations: 2.002 MB / 1.418 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.714, allocations: 85.64 kB / 1.418 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.7155, allocations: 1.469 MB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.7165, allocations: 0.8598 MB / 1.421 GB, free: 14.35 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009075/0.7174, allocations: 420.5 kB / 1.421 GB, free: 13.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7175, allocations: 301.1 kB / 1.421 GB, free: 13.63 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/0.7232, allocations: 2.066 MB / 1.423 GB, free: 11.53 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/0.7293, allocations: 2.772 MB / 1.426 GB, free: 8.547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.7406, allocations: 4.169 MB / 1.43 GB, free: 4.242 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.7406, allocations: 4 kB / 1.43 GB, free: 4.238 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01928/0.7599, allocations: 6.6 MB / 1.437 GB, free: 13.51 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.76, allocations: 155 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.76, allocations: 4 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.7703, allocations: 2.913 MB / 1.44 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.7732, allocations: 491.2 kB / 1.44 GB, free: 9.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0418/0.815, allocations: 18.19 MB / 1.458 GB, free: 7.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.8191, allocations: 323.6 kB / 1.458 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.8194, allocations: 87.97 kB / 1.458 GB, free: 7.156 MB / 1.154 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.001596/0.821, allocations: 0.6985 MB / 1.459 GB, free: 6.449 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.8217, allocations: 322 kB / 1.459 GB, free: 6.133 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/0.8224, allocations: 361.2 kB / 1.46 GB, free: 5.77 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.8225, allocations: 24 kB / 1.46 GB, free: 5.746 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.875e-05/0.8225, allocations: 8.188 kB / 1.46 GB, free: 5.738 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/0.8225, allocations: 15.95 kB / 1.46 GB, free: 5.723 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.8269, allocations: 2.747 MB / 1.462 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.8269, allocations: 4 kB / 1.462 GB, free: 2.938 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.8295, allocations: 419.3 kB / 1.463 GB, free: 2.527 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/0.8396, allocations: 2.863 MB / 1.465 GB, free: 15.65 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/0.8401, allocations: 55.95 kB / 1.466 GB, free: 15.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04149/0.8816, allocations: 17.96 MB / 1.483 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8816, allocations: 4 kB / 1.483 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/0.9005, allocations: 6.083 MB / 1.489 GB, free: 7.301 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/0.9029, allocations: 0.6032 MB / 1.49 GB, free: 6.695 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007438/0.9036, allocations: 44 kB / 1.49 GB, free: 6.652 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/0.9069, allocations: 315.6 kB / 1.49 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/0.9081, allocations: 362.5 kB / 1.49 GB, free: 5.988 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/0.9083, allocations: 71.97 kB / 1.49 GB, free: 5.918 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002115/0.9104, allocations: 1.313 MB / 1.492 GB, free: 4.598 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.9104, allocations: 0 / 1.492 GB, free: 4.598 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00287/0.9133, allocations: 1.039 MB / 1.493 GB, free: 3.559 MB / 1.186 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.0004071/0.9137, allocations: 171 kB / 1.493 GB, free: 3.383 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02437/0.9381, allocations: 6.446 MB / 1.499 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.9381, allocations: 7.938 kB / 1.499 GB, free: 12.81 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/0.956, allocations: 3.92 MB / 1.503 GB, free: 8.859 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/0.9611, allocations: 1.035 MB / 1.504 GB, free: 7.863 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.9774, allocations: 6.987 MB / 1.511 GB, free: 0.8398 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/0.9796, allocations: 1.687 MB / 1.512 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.9809, allocations: 187.4 kB / 1.513 GB, free: 14.93 MB / 1.217 GB Notification: Performance of SimCode: time 1.332e-06/0.9809, allocations: 0 / 1.513 GB, free: 14.93 MB / 1.217 GB Notification: Performance of Templates: time 0.1169/1.098, allocations: 79.68 MB / 1.59 GB, free: 15.51 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 22.685294760391116] Failed to read output from testmodel.py, exit status != 0: 1.6540171788074076 1.123163349 0.6430340529999999 Calling exit ...