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.001877/0.001877, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002238/0.002238, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.816 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.042/3.042, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.003368/0.003368, allocations: 74 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3445, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02732/0.3718, allocations: 21.27 MB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.3986, allocations: 16.86 MB / 1.363 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/0.4018, allocations: 170.7 kB / 1.363 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.413, allocations: 4.165 MB / 1.367 GB, free: 6.914 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.4237, allocations: 3.591 MB / 1.371 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.4274, allocations: 1.307 MB / 1.372 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4375, allocations: 5.791 MB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.4427, allocations: 2.873 MB / 1.381 GB, free: 9.246 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.4482, allocations: 2.835 MB / 1.383 GB, free: 6.402 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.4528, allocations: 2.311 MB / 1.386 GB, free: 4.082 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009102/0.4537, allocations: 364 kB / 1.386 GB, free: 3.727 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.4559, allocations: 0.9555 MB / 1.387 GB, free: 2.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.4572, allocations: 1.219 MB / 1.388 GB, free: 1.547 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.4603, allocations: 1.629 MB / 1.39 GB, free: 15.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.4673, allocations: 5.191 MB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4673, allocations: 3.938 kB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4673, allocations: 0 / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001381/0.4674, allocations: 0 / 1.395 GB, free: 10.7 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.01058/0.478, allocations: 4.647 MB / 1.399 GB, free: 5.949 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.478, allocations: 8.031 kB / 1.399 GB, free: 5.941 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004977/0.4785, allocations: 362.3 kB / 1.4 GB, free: 5.578 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.4945, allocations: 3.283 MB / 1.403 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/0.4999, allocations: 2.159 MB / 1.405 GB, free: 56 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/0.5004, allocations: 474 kB / 1.405 GB, free: 15.53 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008588/0.5013, allocations: 228 kB / 1.406 GB, free: 15.3 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.5136, allocations: 5.381 MB / 1.411 GB, free: 9.672 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.5137, allocations: 0 / 1.411 GB, free: 9.672 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.514, allocations: 99.98 kB / 1.411 GB, free: 9.574 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.5143, allocations: 168.8 kB / 1.411 GB, free: 9.406 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.5281, allocations: 5.194 MB / 1.416 GB, free: 4.195 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.5493, allocations: 9.162 MB / 1.425 GB, free: 10.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009552/0.5588, allocations: 3.25 MB / 1.428 GB, free: 7.633 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/0.5624, allocations: 1.373 MB / 1.43 GB, free: 6.262 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.5625, allocations: 17.31 kB / 1.43 GB, free: 6.246 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004541/0.5671, allocations: 2.453 MB / 1.432 GB, free: 3.566 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.699e-06/0.5671, allocations: 0 / 1.432 GB, free: 3.566 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1219/0.6889, allocations: 27.55 MB / 1.459 GB, free: 7.957 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000282/0.6892, allocations: 0.4928 MB / 1.459 GB, free: 7.355 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00329/0.6925, allocations: 2.312 MB / 1.462 GB, free: 5.031 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004102/0.6929, allocations: 77.7 kB / 1.462 GB, free: 4.949 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.6942, allocations: 1.464 MB / 1.463 GB, free: 3.473 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009195/0.6952, allocations: 0.852 MB / 1.464 GB, free: 2.613 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009339/0.6961, allocations: 420.5 kB / 1.464 GB, free: 2.195 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6962, allocations: 309.1 kB / 1.465 GB, free: 1.891 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005027/0.7013, allocations: 2.062 MB / 1.467 GB, free: 15.79 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/0.7069, allocations: 2.77 MB / 1.469 GB, free: 12.81 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.7171, allocations: 4.161 MB / 1.474 GB, free: 8.512 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.7171, allocations: 4 kB / 1.474 GB, free: 8.508 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01865/0.7358, allocations: 6.627 MB / 1.48 GB, free: 1.762 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.7359, allocations: 144.5 kB / 1.48 GB, free: 1.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.7359, allocations: 8 kB / 1.48 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.7463, allocations: 2.924 MB / 1.483 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.7492, allocations: 487.2 kB / 1.483 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04048/0.7897, allocations: 18.29 MB / 1.501 GB, free: 11.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.7936, allocations: 331.4 kB / 1.502 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.7939, allocations: 87.97 kB / 1.502 GB, free: 11.28 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.001452/0.7954, allocations: 0.7029 MB / 1.502 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/0.796, allocations: 349.9 kB / 1.503 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.7967, allocations: 384.1 kB / 1.503 GB, free: 9.84 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.7967, allocations: 24 kB / 1.503 GB, free: 9.816 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.7968, allocations: 8 kB / 1.503 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.7968, allocations: 12.14 kB / 1.503 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/0.8014, allocations: 3.035 MB / 1.506 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.8014, allocations: 3.938 kB / 1.506 GB, free: 6.711 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/0.8039, allocations: 423.3 kB / 1.507 GB, free: 6.297 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/0.8142, allocations: 2.867 MB / 1.509 GB, free: 3.422 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000427/0.8146, allocations: 55.97 kB / 1.509 GB, free: 3.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03902/0.8536, allocations: 18.07 MB / 1.527 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8536, allocations: 0 / 1.527 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/0.8713, allocations: 6.108 MB / 1.533 GB, free: 10.91 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/0.8735, allocations: 0.6343 MB / 1.534 GB, free: 10.28 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/0.8742, allocations: 51.92 kB / 1.534 GB, free: 10.23 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/0.8773, allocations: 319.6 kB / 1.534 GB, free: 9.914 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/0.8784, allocations: 358.5 kB / 1.534 GB, free: 9.562 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/0.8786, allocations: 75.97 kB / 1.534 GB, free: 9.488 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.002314/0.881, allocations: 1.532 MB / 1.536 GB, free: 7.957 MB / 1.233 GB Notification: Performance of sort global known variables: time 7e-08/0.881, allocations: 0 / 1.536 GB, free: 7.957 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.003285/0.8842, allocations: 1.043 MB / 1.537 GB, free: 6.914 MB / 1.233 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.01796/0.9022, allocations: 6.748 MB / 1.543 GB, free: 124 kB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.02262/0.9248, allocations: 6.461 MB / 1.55 GB, free: 9.535 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9248, allocations: 0 / 1.55 GB, free: 9.535 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01641/0.9412, allocations: 3.924 MB / 1.554 GB, free: 5.578 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/0.946, allocations: 1.132 MB / 1.555 GB, free: 4.484 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07587/1.022, allocations: 32.39 MB / 1.586 GB, free: 3.508 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/1.024, allocations: 1.684 MB / 1.588 GB, free: 1.781 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002334/1.026, allocations: 0.5058 MB / 1.589 GB, free: 1.27 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.028, allocations: 1.339 MB / 1.59 GB, free: 15.92 MB / 1.295 GB Notification: Performance of SimCode: time 1.372e-06/1.028, allocations: 0 / 1.59 GB, free: 15.92 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7455/1.774, allocations: 107.9 MB / 1.695 GB, free: 205.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/19.84, allocations: 2.578 kB / 1.695 GB, free: 205.8 MB / 1.295 GB " [Timeout remaining time 280] (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: 26.541622404998634] Failed to read output from testmodel.py, exit status != 0: 20.018902596988482 20.027000525 19.557273474 Calling exit ...