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.001671/0.001671, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002056/0.002056, allocations: 216.3 kB / 22.25 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.777 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.725/2.725, allocations: 476 MB / 0.7699 GB, free: 4.875 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [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.00209/0.00209, allocations: 65.53 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 169.9 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02754/0.3282, allocations: 21.27 MB / 1.303 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.3557, allocations: 16.85 MB / 1.32 GB, free: 6.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.3582, allocations: 170.6 kB / 1.32 GB, free: 6 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.3694, allocations: 4.169 MB / 1.324 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.38, allocations: 3.595 MB / 1.328 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.3833, allocations: 1.308 MB / 1.329 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008821/0.3921, allocations: 5.79 MB / 1.334 GB, free: 7.109 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004047/0.3962, allocations: 2.834 MB / 1.337 GB, free: 4.195 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.4009, allocations: 2.824 MB / 1.34 GB, free: 1.363 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/0.4044, allocations: 2.143 MB / 1.342 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0006624/0.405, allocations: 364 kB / 1.342 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.407, allocations: 0.9594 MB / 1.343 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.4082, allocations: 1.219 MB / 1.345 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.4101, allocations: 1.629 MB / 1.346 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005624/0.4157, allocations: 5.195 MB / 1.351 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4157, allocations: 0 / 1.351 GB, free: 5.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4157, allocations: 0 / 1.351 GB, free: 5.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.535e-05/0.4158, allocations: 0 / 1.351 GB, free: 5.82 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.00943/0.4252, allocations: 4.639 MB / 1.356 GB, free: 1.082 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4252, allocations: 12.03 kB / 1.356 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004848/0.4257, allocations: 362.3 kB / 1.356 GB, free: 0.707 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.4416, allocations: 3.283 MB / 1.359 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.4462, allocations: 2.159 MB / 1.361 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.4467, allocations: 470 kB / 1.362 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/0.4472, allocations: 236 kB / 1.362 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/0.4582, allocations: 5.363 MB / 1.367 GB, free: 4.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.4582, allocations: 11.94 kB / 1.367 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.4585, allocations: 104 kB / 1.367 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.4588, allocations: 168.8 kB / 1.368 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4726, allocations: 5.191 MB / 1.373 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01952/0.4921, allocations: 9.17 MB / 1.382 GB, free: 6.027 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.5023, allocations: 3.249 MB / 1.385 GB, free: 2.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/0.5062, allocations: 1.377 MB / 1.386 GB, free: 1.391 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.5063, allocations: 21.31 kB / 1.386 GB, free: 1.371 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004774/0.511, allocations: 2.447 MB / 1.389 GB, free: 14.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 3.697e-06/0.511, allocations: 7.938 kB / 1.389 GB, free: 14.69 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1325/0.6435, allocations: 27.52 MB / 1.415 GB, free: 3.113 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003385/0.6438, allocations: 0.4928 MB / 1.416 GB, free: 2.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/0.6474, allocations: 2.312 MB / 1.418 GB, free: 192 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/0.6478, allocations: 73.7 kB / 1.418 GB, free: 112 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.6493, allocations: 1.468 MB / 1.42 GB, free: 14.63 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.6502, allocations: 0.852 MB / 1.421 GB, free: 13.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008916/0.6511, allocations: 428.4 kB / 1.421 GB, free: 13.34 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6512, allocations: 305.1 kB / 1.421 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005718/0.6569, allocations: 2.066 MB / 1.423 GB, free: 10.94 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006181/0.6631, allocations: 2.766 MB / 1.426 GB, free: 7.961 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.6743, allocations: 4.169 MB / 1.43 GB, free: 3.656 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.6743, allocations: 7.938 kB / 1.43 GB, free: 3.648 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01941/0.6937, allocations: 6.612 MB / 1.436 GB, free: 12.91 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.6938, allocations: 152.8 kB / 1.437 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.6938, allocations: 8 kB / 1.437 GB, free: 12.72 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.7041, allocations: 2.916 MB / 1.439 GB, free: 9.801 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/0.7069, allocations: 0.4913 MB / 1.44 GB, free: 9.309 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04203/0.749, allocations: 18.27 MB / 1.458 GB, free: 6.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/0.753, allocations: 327.6 kB / 1.458 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.7532, allocations: 88.12 kB / 1.458 GB, free: 6.43 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.001524/0.7548, allocations: 0.7102 MB / 1.459 GB, free: 5.711 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/0.7553, allocations: 353.8 kB / 1.459 GB, free: 5.363 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.7561, allocations: 380.1 kB / 1.46 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7561, allocations: 24 kB / 1.46 GB, free: 4.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.112e-05/0.7561, allocations: 8 kB / 1.46 GB, free: 4.953 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/0.7561, allocations: 11.95 kB / 1.46 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/0.7606, allocations: 3.046 MB / 1.463 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7606, allocations: 192 / 1.463 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.7631, allocations: 419.4 kB / 1.463 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/0.7731, allocations: 2.863 MB / 1.466 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.7734, allocations: 51.97 kB / 1.466 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04155/0.8149, allocations: 18.07 MB / 1.484 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8149, allocations: 4 kB / 1.484 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/0.8336, allocations: 6.116 MB / 1.489 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/0.8356, allocations: 0.6304 MB / 1.49 GB, free: 5.414 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005565/0.8362, allocations: 55.92 kB / 1.49 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/0.8393, allocations: 315.6 kB / 1.49 GB, free: 5.051 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/0.8405, allocations: 358.5 kB / 1.491 GB, free: 4.699 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/0.8407, allocations: 75.97 kB / 1.491 GB, free: 4.625 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002376/0.8431, allocations: 1.528 MB / 1.492 GB, free: 3.098 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.8431, allocations: 4 kB / 1.492 GB, free: 3.094 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002637/0.8457, allocations: 1.043 MB / 1.493 GB, free: 2.051 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.01878/0.8645, allocations: 6.745 MB / 1.5 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02388/0.8884, allocations: 6.453 MB / 1.506 GB, free: 4.684 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8884, allocations: 0 / 1.506 GB, free: 4.684 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01744/0.9058, allocations: 3.935 MB / 1.51 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/0.9104, allocations: 1.138 MB / 1.511 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07502/0.9854, allocations: 32.38 MB / 1.543 GB, free: 14.65 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/0.988, allocations: 1.692 MB / 1.544 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002672/0.9906, allocations: 0.5058 MB / 1.545 GB, free: 12.41 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/0.9927, allocations: 1.339 MB / 1.546 GB, free: 11.07 MB / 1.248 GB Notification: Performance of SimCode: time 1.663e-06/0.9928, allocations: 3.938 kB / 1.546 GB, free: 11.06 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7666/1.759, allocations: 107.2 MB / 1.651 GB, free: 283.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.05/19.81, allocations: 5.547 kB / 1.651 GB, free: 283.5 MB / 1.295 GB " [Timeout remaining time 280] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 26.34070497797802] Failed to read output from testmodel.py, exit status != 0: 20.444143889006227 20.02001794 19.600432478 Calling exit ...