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.001731/0.001731, allocations: 108.2 kB / 16.45 MB, free: 6.453 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.0021/0.0021, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.109/3.109, allocations: 0.49 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_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.002051/0.002051, allocations: 69.42 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02796/0.387, allocations: 22.95 MB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.4163, allocations: 17.83 MB / 1.361 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.4206, allocations: 150.8 kB / 1.361 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.4332, allocations: 4.222 MB / 1.365 GB, free: 6.027 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.447, allocations: 3.568 MB / 1.368 GB, free: 2.449 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0045/0.4515, allocations: 1.314 MB / 1.37 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.4627, allocations: 5.789 MB / 1.375 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006749/0.4695, allocations: 2.804 MB / 1.378 GB, free: 8.453 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005724/0.4752, allocations: 2.511 MB / 1.381 GB, free: 5.934 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.481, allocations: 2.518 MB / 1.383 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.4828, allocations: 368 kB / 1.383 GB, free: 3.047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.4862, allocations: 1.049 MB / 1.384 GB, free: 1.996 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.4886, allocations: 1.234 MB / 1.386 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004638/0.4932, allocations: 1.994 MB / 1.388 GB, free: 14.75 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009444/0.5027, allocations: 5.195 MB / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5027, allocations: 0 / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5027, allocations: 0 / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000168/0.5028, allocations: 3.938 kB / 1.393 GB, free: 9.535 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.01151/0.5143, allocations: 4.73 MB / 1.397 GB, free: 4.688 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.5144, allocations: 15.98 kB / 1.397 GB, free: 4.672 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005726/0.515, allocations: 362.3 kB / 1.398 GB, free: 4.309 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.5314, allocations: 3.283 MB / 1.401 GB, free: 1.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005345/0.5367, allocations: 2.239 MB / 1.403 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004843/0.5372, allocations: 470 kB / 1.403 GB, free: 14.19 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000799/0.538, allocations: 236 kB / 1.404 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.5513, allocations: 4.818 MB / 1.408 GB, free: 8.992 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.5514, allocations: 4 kB / 1.408 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/0.5518, allocations: 104 kB / 1.408 GB, free: 8.887 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/0.552, allocations: 168.8 kB / 1.409 GB, free: 8.719 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.5673, allocations: 5.198 MB / 1.414 GB, free: 3.504 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.5937, allocations: 14.41 MB / 1.428 GB, free: 3.93 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.6041, allocations: 3.265 MB / 1.431 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004127/0.6082, allocations: 1.369 MB / 1.432 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.6084, allocations: 25.28 kB / 1.432 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004721/0.6131, allocations: 1.787 MB / 1.434 GB, free: 13.4 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 3.927e-06/0.6131, allocations: 0 / 1.434 GB, free: 13.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.1339/0.747, allocations: 28.23 MB / 1.462 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003045/0.7473, allocations: 0.4889 MB / 1.462 GB, free: 360 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/0.7507, allocations: 2.3 MB / 1.464 GB, free: 14.04 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004928/0.7512, allocations: 77.7 kB / 1.464 GB, free: 13.96 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.7527, allocations: 1.452 MB / 1.466 GB, free: 12.49 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.7539, allocations: 0.8675 MB / 1.467 GB, free: 11.62 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009574/0.7548, allocations: 416.5 kB / 1.467 GB, free: 11.2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.755, allocations: 305.1 kB / 1.467 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005856/0.7609, allocations: 1.929 MB / 1.469 GB, free: 8.969 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006259/0.7671, allocations: 2.231 MB / 1.471 GB, free: 6.652 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.779, allocations: 4.161 MB / 1.476 GB, free: 2.355 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.779, allocations: 4 kB / 1.476 GB, free: 2.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0204/0.7994, allocations: 6.482 MB / 1.482 GB, free: 11.78 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.7995, allocations: 148.5 kB / 1.482 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.7995, allocations: 8 kB / 1.482 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.8104, allocations: 2.922 MB / 1.485 GB, free: 8.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.8134, allocations: 487.2 kB / 1.485 GB, free: 8.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04336/0.8568, allocations: 18.86 MB / 1.504 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.8612, allocations: 323.6 kB / 1.504 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.8617, allocations: 87.97 kB / 1.504 GB, free: 4.672 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.001714/0.8634, allocations: 0.7132 MB / 1.505 GB, free: 3.953 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/0.8642, allocations: 345.9 kB / 1.505 GB, free: 3.613 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009504/0.8651, allocations: 388.1 kB / 1.506 GB, free: 3.227 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.8651, allocations: 24 kB / 1.506 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/0.8652, allocations: 8 kB / 1.506 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.8652, allocations: 11.95 kB / 1.506 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005296/0.8705, allocations: 3.624 MB / 1.509 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.8705, allocations: 3.984 kB / 1.509 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/0.8731, allocations: 419.3 kB / 1.509 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/0.8835, allocations: 2.865 MB / 1.512 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005186/0.884, allocations: 55.97 kB / 1.512 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0418/0.9258, allocations: 18.64 MB / 1.531 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9258, allocations: 0 / 1.531 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/0.9455, allocations: 6.116 MB / 1.537 GB, free: 3.066 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/0.9477, allocations: 0.7134 MB / 1.537 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006853/0.9484, allocations: 47.94 kB / 1.537 GB, free: 2.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003324/0.9517, allocations: 320.1 kB / 1.538 GB, free: 1.973 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.953, allocations: 342.7 kB / 1.538 GB, free: 1.637 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002173/0.9532, allocations: 67.97 kB / 1.538 GB, free: 1.57 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002431/0.9556, allocations: 1.536 MB / 1.539 GB, free: 36 kB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.9556, allocations: 0 / 1.539 GB, free: 36 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.00318/0.9588, allocations: 1.047 MB / 1.54 GB, free: 14.99 MB / 1.248 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.01953/0.9784, allocations: 6.745 MB / 1.547 GB, free: 8.207 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02469/1.003, allocations: 6.321 MB / 1.553 GB, free: 1.793 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.003, allocations: 4 kB / 1.553 GB, free: 1.789 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01808/1.021, allocations: 3.919 MB / 1.557 GB, free: 13.83 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/1.027, allocations: 1.133 MB / 1.558 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08025/1.107, allocations: 31.8 MB / 1.589 GB, free: 12.46 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/1.109, allocations: 2.231 MB / 1.591 GB, free: 10.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002336/1.112, allocations: 0.5096 MB / 1.592 GB, free: 9.68 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002146/1.114, allocations: 1.339 MB / 1.593 GB, free: 8.34 MB / 1.295 GB Notification: Performance of SimCode: time 1.492e-06/1.114, allocations: 0 / 1.593 GB, free: 8.34 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8738/1.988, allocations: 103.3 MB / 1.694 GB, free: 203 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.06/21.05, allocations: 6.016 kB / 1.694 GB, free: 203 MB / 1.295 GB " [Timeout remaining time 279] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 27.69963028281927] Failed to read output from testmodel.py, exit status != 0: 21.20968343410641 21.226013131 20.719740985 Calling exit ...