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.001707/0.001707, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002137/0.002137, allocations: 217.3 kB / 23.04 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 33.53 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: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",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.002028/0.002028, allocations: 72.05 kB / 1.155 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02823/0.3701, allocations: 23.5 MB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.3994, allocations: 18.18 MB / 1.367 GB, free: 8.152 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.4032, allocations: 150.8 kB / 1.368 GB, free: 8.004 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.4148, allocations: 4.347 MB / 1.372 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.4274, allocations: 3.588 MB / 1.375 GB, free: 52 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.4314, allocations: 1.338 MB / 1.377 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.4417, allocations: 5.792 MB / 1.382 GB, free: 8.902 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004912/0.4466, allocations: 2.877 MB / 1.385 GB, free: 5.949 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.4513, allocations: 2.519 MB / 1.388 GB, free: 3.422 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.4564, allocations: 2.522 MB / 1.39 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009885/0.4574, allocations: 368 kB / 1.39 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.4599, allocations: 1.057 MB / 1.391 GB, free: 15.47 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.4612, allocations: 1.223 MB / 1.393 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.4642, allocations: 1.998 MB / 1.395 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008438/0.4726, allocations: 5.187 MB / 1.4 GB, free: 7.031 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.4726, allocations: 3.938 kB / 1.4 GB, free: 7.027 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.026e-06/0.4726, allocations: 3.938 kB / 1.4 GB, free: 7.023 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002179/0.4728, allocations: 0 / 1.4 GB, free: 7.023 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.01419/0.487, allocations: 4.658 MB / 1.404 GB, free: 2.266 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4871, allocations: 12.03 kB / 1.404 GB, free: 2.254 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.625e-05/0.4872, allocations: 60.92 kB / 1.404 GB, free: 2.191 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008208/0.488, allocations: 366.3 kB / 1.405 GB, free: 1.824 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.5047, allocations: 3.279 MB / 1.408 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.5101, allocations: 2.131 MB / 1.41 GB, free: 12.33 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000491/0.5106, allocations: 481.8 kB / 1.41 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009245/0.5115, allocations: 232 kB / 1.411 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.5241, allocations: 4.81 MB / 1.415 GB, free: 6.613 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.635e-05/0.5241, allocations: 7.938 kB / 1.415 GB, free: 6.605 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.5245, allocations: 108 kB / 1.415 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/0.5247, allocations: 168.8 kB / 1.415 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.5402, allocations: 5.194 MB / 1.421 GB, free: 1.121 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.5679, allocations: 14.36 MB / 1.435 GB, free: 1.586 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.5791, allocations: 3.254 MB / 1.438 GB, free: 14.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/0.5836, allocations: 1.373 MB / 1.439 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.5837, allocations: 21.22 kB / 1.439 GB, free: 12.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005066/0.5888, allocations: 1.79 MB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 4.318e-06/0.5888, allocations: 0 / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.1394/0.7282, allocations: 27.54 MB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003654/0.7286, allocations: 0.4928 MB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/0.7331, allocations: 2.304 MB / 1.47 GB, free: 12.56 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005212/0.7336, allocations: 77.7 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.7351, allocations: 1.46 MB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.7363, allocations: 0.8637 MB / 1.473 GB, free: 10.13 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.7375, allocations: 412.5 kB / 1.473 GB, free: 9.723 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7376, allocations: 301.1 kB / 1.474 GB, free: 9.426 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005869/0.7435, allocations: 1.933 MB / 1.475 GB, free: 7.488 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/0.7497, allocations: 2.223 MB / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.7618, allocations: 4.173 MB / 1.482 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.7618, allocations: 4 kB / 1.482 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02147/0.7832, allocations: 6.471 MB / 1.488 GB, free: 10.31 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.7834, allocations: 148.5 kB / 1.488 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.7834, allocations: 8 kB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/0.7947, allocations: 2.921 MB / 1.491 GB, free: 7.191 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.7978, allocations: 491.2 kB / 1.491 GB, free: 6.711 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04529/0.843, allocations: 18.65 MB / 1.51 GB, free: 3.859 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.8473, allocations: 323.6 kB / 1.51 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/0.8478, allocations: 87.97 kB / 1.51 GB, free: 3.457 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.002029/0.8498, allocations: 0.7107 MB / 1.511 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/0.8513, allocations: 345.9 kB / 1.511 GB, free: 2.395 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.8528, allocations: 380.1 kB / 1.511 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.8528, allocations: 24 kB / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.056e-05/0.8529, allocations: 12 kB / 1.511 GB, free: 1.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/0.8529, allocations: 15.95 kB / 1.511 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007593/0.8605, allocations: 3.607 MB / 1.515 GB, free: 14.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/0.8606, allocations: 4 kB / 1.515 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/0.8633, allocations: 415.4 kB / 1.515 GB, free: 13.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/0.8741, allocations: 2.867 MB / 1.518 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006311/0.8747, allocations: 51.97 kB / 1.518 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04551/0.9202, allocations: 18.42 MB / 1.536 GB, free: 8.312 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9203, allocations: 0 / 1.536 GB, free: 8.312 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02118/0.9414, allocations: 6.12 MB / 1.542 GB, free: 2.168 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002556/0.944, allocations: 0.6304 MB / 1.543 GB, free: 1.535 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/0.9452, allocations: 47.94 kB / 1.543 GB, free: 1.488 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004192/0.9494, allocations: 320.1 kB / 1.543 GB, free: 1.176 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/0.951, allocations: 366.5 kB / 1.544 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003967/0.9514, allocations: 67.97 kB / 1.544 GB, free: 0.75 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003452/0.9548, allocations: 1.536 MB / 1.545 GB, free: 15.21 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.9548, allocations: 0 / 1.545 GB, free: 15.21 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005041/0.9599, allocations: 1.051 MB / 1.546 GB, free: 14.16 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.02186/0.9817, allocations: 6.742 MB / 1.553 GB, free: 7.375 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02614/1.008, allocations: 6.324 MB / 1.559 GB, free: 0.957 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.008, allocations: 0 / 1.559 GB, free: 0.957 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/1.027, allocations: 3.923 MB / 1.563 GB, free: 13 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007764/1.035, allocations: 1.135 MB / 1.564 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09123/1.126, allocations: 31.84 MB / 1.595 GB, free: 11.59 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/1.13, allocations: 2.238 MB / 1.597 GB, free: 9.316 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00299/1.133, allocations: 0.4902 MB / 1.598 GB, free: 8.82 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/1.135, allocations: 1.343 MB / 1.599 GB, free: 7.477 MB / 1.295 GB Notification: Performance of SimCode: time 1.583e-06/1.135, allocations: 4 kB / 1.599 GB, free: 7.473 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8605/1.996, allocations: 105.9 MB / 1.702 GB, free: 199 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.01/23.01, allocations: 10.64 kB / 1.702 GB, free: 199 MB / 1.295 GB " [Timeout remaining time 277] (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: 29.89438736398006] Failed to read output from testmodel.py, exit status != 0: 23.245092489989474 23.26321321 22.786783346 Calling exit ...