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.001769/0.001769, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002015/0.002015, allocations: 217.3 kB / 22.26 MB, free: 5.078 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.271/3.271, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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.001994/0.001994, allocations: 65.86 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3724, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03445/0.4069, allocations: 23.49 MB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03121/0.4381, allocations: 18.18 MB / 1.394 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.4428, allocations: 178.6 kB / 1.394 GB, free: 14.44 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.4555, allocations: 4.351 MB / 1.398 GB, free: 10.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.4679, allocations: 3.594 MB / 1.402 GB, free: 6.48 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.4718, allocations: 1.32 MB / 1.403 GB, free: 5.164 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.4825, allocations: 5.793 MB / 1.408 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005936/0.4884, allocations: 2.881 MB / 1.411 GB, free: 12.39 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006896/0.4953, allocations: 2.824 MB / 1.414 GB, free: 9.562 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006208/0.5015, allocations: 2.315 MB / 1.416 GB, free: 7.238 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002418/0.504, allocations: 364 kB / 1.417 GB, free: 6.883 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.508, allocations: 1.049 MB / 1.418 GB, free: 5.832 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.5103, allocations: 1.219 MB / 1.419 GB, free: 4.609 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.5143, allocations: 1.979 MB / 1.421 GB, free: 2.621 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008689/0.523, allocations: 5.164 MB / 1.426 GB, free: 13.44 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.523, allocations: 4 kB / 1.426 GB, free: 13.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.975e-06/0.523, allocations: 0 / 1.426 GB, free: 13.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001505/0.5231, allocations: 0 / 1.426 GB, free: 13.43 MB / 1.123 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.01143/0.5346, allocations: 4.635 MB / 1.43 GB, free: 8.699 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5346, allocations: 12.03 kB / 1.43 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005429/0.5352, allocations: 358.3 kB / 1.431 GB, free: 8.328 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.5509, allocations: 3.279 MB / 1.434 GB, free: 5.043 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/0.5564, allocations: 2.166 MB / 1.436 GB, free: 2.805 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.5569, allocations: 466 kB / 1.436 GB, free: 2.285 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007537/0.5577, allocations: 232 kB / 1.437 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.5691, allocations: 4.718 MB / 1.441 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.5691, allocations: 0 / 1.441 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003191/0.5694, allocations: 104 kB / 1.441 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.5696, allocations: 172.8 kB / 1.442 GB, free: 12.97 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.5836, allocations: 5.202 MB / 1.447 GB, free: 7.754 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.6093, allocations: 14.34 MB / 1.461 GB, free: 8.238 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009927/0.6193, allocations: 3.265 MB / 1.464 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.623, allocations: 1.366 MB / 1.465 GB, free: 3.59 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.6232, allocations: 29.28 kB / 1.465 GB, free: 3.562 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004363/0.6275, allocations: 1.786 MB / 1.467 GB, free: 1.707 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 3.567e-06/0.6275, allocations: 0 / 1.467 GB, free: 1.707 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1248/0.7523, allocations: 27.54 MB / 1.494 GB, free: 6.105 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003242/0.7526, allocations: 0.5006 MB / 1.494 GB, free: 5.496 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.7563, allocations: 2.296 MB / 1.497 GB, free: 3.188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005132/0.7568, allocations: 73.7 kB / 1.497 GB, free: 3.109 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.7583, allocations: 1.456 MB / 1.498 GB, free: 1.641 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.7595, allocations: 0.8637 MB / 1.499 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009192/0.7604, allocations: 416.5 kB / 1.499 GB, free: 364 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7605, allocations: 305.1 kB / 1.5 GB, free: 56 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005366/0.7659, allocations: 1.929 MB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005635/0.7715, allocations: 2.231 MB / 1.504 GB, free: 11.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.7826, allocations: 4.165 MB / 1.508 GB, free: 7.504 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.7826, allocations: 0 / 1.508 GB, free: 7.504 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01993/0.8025, allocations: 6.474 MB / 1.514 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.8027, allocations: 148.5 kB / 1.514 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.8027, allocations: 4 kB / 1.514 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/0.8133, allocations: 2.928 MB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.8162, allocations: 483.2 kB / 1.518 GB, free: 13.35 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04511/0.8613, allocations: 18.65 MB / 1.536 GB, free: 10.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/0.8655, allocations: 323.6 kB / 1.536 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/0.866, allocations: 95.89 kB / 1.536 GB, free: 10.08 MB / 1.232 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.001714/0.8677, allocations: 0.7102 MB / 1.537 GB, free: 9.363 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007984/0.8685, allocations: 349.8 kB / 1.537 GB, free: 9.02 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008351/0.8694, allocations: 392.1 kB / 1.538 GB, free: 8.629 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.8694, allocations: 24 kB / 1.538 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.938e-05/0.8694, allocations: 8 kB / 1.538 GB, free: 8.598 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.8694, allocations: 11.95 kB / 1.538 GB, free: 8.586 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/0.8747, allocations: 3.596 MB / 1.541 GB, free: 4.941 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.8747, allocations: 0 / 1.541 GB, free: 4.941 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/0.8773, allocations: 415.3 kB / 1.541 GB, free: 4.535 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/0.8875, allocations: 2.871 MB / 1.544 GB, free: 1.66 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004353/0.8879, allocations: 51.97 kB / 1.544 GB, free: 1.609 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04176/0.9297, allocations: 18.42 MB / 1.562 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.9297, allocations: 7.922 kB / 1.562 GB, free: 14.93 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/0.9484, allocations: 6.108 MB / 1.568 GB, free: 8.797 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002534/0.9509, allocations: 0.6381 MB / 1.569 GB, free: 8.156 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008735/0.9518, allocations: 55.92 kB / 1.569 GB, free: 8.102 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003564/0.9554, allocations: 311.6 kB / 1.569 GB, free: 7.797 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/0.9566, allocations: 370.4 kB / 1.57 GB, free: 7.434 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.9568, allocations: 67.97 kB / 1.57 GB, free: 7.367 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002458/0.9593, allocations: 1.536 MB / 1.571 GB, free: 5.832 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.9593, allocations: 0 / 1.571 GB, free: 5.832 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003166/0.9625, allocations: 1.039 MB / 1.572 GB, free: 4.793 MB / 1.264 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.01924/0.9817, allocations: 6.737 MB / 1.579 GB, free: 14.02 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02351/1.005, allocations: 6.32 MB / 1.585 GB, free: 7.598 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.005, allocations: 0 / 1.585 GB, free: 7.598 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01718/1.022, allocations: 3.927 MB / 1.589 GB, free: 3.641 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.027, allocations: 1.14 MB / 1.59 GB, free: 2.539 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7457/1.773, allocations: 31.82 MB / 1.621 GB, free: 233.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/1.775, allocations: 2.235 MB / 1.623 GB, free: 232.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002078/1.777, allocations: 0.4994 MB / 1.624 GB, free: 232.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.779, allocations: 1.336 MB / 1.625 GB, free: 231.8 MB / 1.295 GB Notification: Performance of SimCode: time 8.92e-07/1.779, allocations: 3.656 kB / 1.625 GB, free: 231.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.931, allocations: 105.8 MB / 1.728 GB, free: 155.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.47/23.4, allocations: 3.328 kB / 1.728 GB, free: 155.2 MB / 1.295 GB " [Timeout remaining time 276] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 30.546784084988758] Failed to read output from testmodel.py, exit status != 0: 23.58799703209661 23.597808473 23.07219027 Calling exit ...