Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001697/0.001697, 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.002321/0.002321, allocations: 218.5 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.548/1.548, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002121/0.002121, allocations: 66.27 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02733/0.3786, allocations: 21.27 MB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02839/0.4069, allocations: 16.85 MB / 1.364 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.4105, allocations: 170.6 kB / 1.364 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.4222, allocations: 4.167 MB / 1.368 GB, free: 7.238 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.4337, allocations: 3.582 MB / 1.371 GB, free: 3.645 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.4376, allocations: 1.306 MB / 1.373 GB, free: 2.344 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009249/0.4468, allocations: 5.793 MB / 1.378 GB, free: 12.53 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004815/0.4517, allocations: 2.834 MB / 1.381 GB, free: 9.617 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005451/0.4571, allocations: 2.82 MB / 1.384 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004351/0.4615, allocations: 2.155 MB / 1.386 GB, free: 4.625 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008973/0.4624, allocations: 364 kB / 1.386 GB, free: 4.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4648, allocations: 0.9516 MB / 1.387 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4662, allocations: 1.211 MB / 1.388 GB, free: 2.102 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.4689, allocations: 1.637 MB / 1.39 GB, free: 468 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007533/0.4764, allocations: 5.195 MB / 1.395 GB, free: 11.24 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4764, allocations: 4 kB / 1.395 GB, free: 11.24 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4764, allocations: 0 / 1.395 GB, free: 11.24 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000145/0.4765, allocations: 0 / 1.395 GB, free: 11.24 MB / 1.092 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.0114/0.4879, allocations: 4.643 MB / 1.4 GB, free: 6.496 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.488, allocations: 12.02 kB / 1.4 GB, free: 6.484 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.5046, allocations: 3.275 MB / 1.403 GB, free: 3.203 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.5104, allocations: 2.159 MB / 1.405 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005102/0.5109, allocations: 466.3 kB / 1.405 GB, free: 460 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/0.5117, allocations: 235.9 kB / 1.405 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.5245, allocations: 5.367 MB / 1.411 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/0.5246, allocations: 7.938 kB / 1.411 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.5249, allocations: 99.98 kB / 1.411 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/0.5251, allocations: 176.8 kB / 1.411 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.5398, allocations: 5.183 MB / 1.416 GB, free: 5.117 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/0.5628, allocations: 8.76 MB / 1.425 GB, free: 12.24 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5732, allocations: 3.245 MB / 1.428 GB, free: 8.977 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/0.5771, allocations: 1.373 MB / 1.429 GB, free: 7.605 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.5772, allocations: 21.25 kB / 1.429 GB, free: 7.586 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005149/0.5824, allocations: 2.45 MB / 1.432 GB, free: 4.906 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.42e-06/0.5824, allocations: 0 / 1.432 GB, free: 4.906 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1336/0.716, allocations: 27.52 MB / 1.458 GB, free: 9.336 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003454/0.7163, allocations: 0.4967 MB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.7196, allocations: 1.986 MB / 1.461 GB, free: 6.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004498/0.7201, allocations: 81.69 kB / 1.461 GB, free: 6.645 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.7215, allocations: 1.469 MB / 1.462 GB, free: 5.164 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.7226, allocations: 0.8636 MB / 1.463 GB, free: 4.293 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000913/0.7235, allocations: 424.5 kB / 1.464 GB, free: 3.871 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7237, allocations: 305.1 kB / 1.464 GB, free: 3.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/0.7295, allocations: 2.062 MB / 1.466 GB, free: 1.473 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00652/0.736, allocations: 2.774 MB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.7481, allocations: 4.161 MB / 1.473 GB, free: 10.19 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.7481, allocations: 4 kB / 1.473 GB, free: 10.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02102/0.7691, allocations: 6.585 MB / 1.479 GB, free: 3.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.7693, allocations: 152.5 kB / 1.479 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.7693, allocations: 8 kB / 1.479 GB, free: 3.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.78, allocations: 2.917 MB / 1.482 GB, free: 376 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.783, allocations: 495.2 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04283/0.8259, allocations: 18.19 MB / 1.5 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/0.83, allocations: 331.6 kB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/0.8303, allocations: 87.97 kB / 1.501 GB, free: 13.1 MB / 1.201 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.001636/0.8319, allocations: 0.7103 MB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006316/0.8326, allocations: 322 kB / 1.502 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.8333, allocations: 361.2 kB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.8333, allocations: 24 kB / 1.502 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.075e-05/0.8333, allocations: 8 kB / 1.502 GB, free: 11.67 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.8333, allocations: 11.95 kB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.8376, allocations: 2.723 MB / 1.505 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.8376, allocations: 0 / 1.505 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/0.8401, allocations: 423.4 kB / 1.505 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01027/0.8504, allocations: 2.863 MB / 1.508 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/0.8508, allocations: 55.97 kB / 1.508 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04301/0.8938, allocations: 17.98 MB / 1.526 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8938, allocations: 0.5625 kB / 1.526 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/0.9137, allocations: 6.083 MB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/0.916, allocations: 0.5993 MB / 1.532 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008617/0.9169, allocations: 44 kB / 1.532 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/0.9205, allocations: 315.6 kB / 1.532 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/0.9217, allocations: 362.5 kB / 1.533 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/0.922, allocations: 75.91 kB / 1.533 GB, free: 11.87 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002432/0.9244, allocations: 1.316 MB / 1.534 GB, free: 10.54 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9244, allocations: 0 / 1.534 GB, free: 10.54 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003276/0.9277, allocations: 1.035 MB / 1.535 GB, free: 9.508 MB / 1.232 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.0004513/0.9282, allocations: 167 kB / 1.535 GB, free: 9.332 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02894/0.9571, allocations: 6.47 MB / 1.542 GB, free: 2.738 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.9571, allocations: 4.188 kB / 1.542 GB, free: 2.734 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01894/0.9761, allocations: 3.92 MB / 1.545 GB, free: 14.79 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/0.9815, allocations: 1.032 MB / 1.547 GB, free: 13.8 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.9992, allocations: 6.977 MB / 1.553 GB, free: 6.777 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.002, allocations: 1.687 MB / 1.555 GB, free: 5.047 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.003, allocations: 187.4 kB / 1.555 GB, free: 4.863 MB / 1.248 GB Notification: Performance of SimCode: time 2.174e-06/1.003, allocations: 0 / 1.555 GB, free: 4.863 MB / 1.248 GB Notification: Performance of Templates: time 0.7973/1.801, allocations: 79.67 MB / 1.633 GB, free: 256.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 23.61002215417102] Failed to read output from testmodel.py, exit status != 0: 1.8101461231708527 1.821640501 1.3424216310000001 Calling exit ...