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.001805/0.001805, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002386/0.002386, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.781 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.126/3.126, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002112/0.002112, allocations: 67.75 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02941/0.414, allocations: 21.26 MB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03111/0.4451, allocations: 16.86 MB / 1.362 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004883/0.45, allocations: 174.7 kB / 1.362 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.4626, allocations: 4.153 MB / 1.367 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.475, allocations: 3.588 MB / 1.37 GB, free: 4.156 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.4791, allocations: 1.31 MB / 1.371 GB, free: 2.852 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009909/0.489, allocations: 5.785 MB / 1.377 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006079/0.4951, allocations: 2.826 MB / 1.38 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.5016, allocations: 2.835 MB / 1.383 GB, free: 7.297 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00547/0.5071, allocations: 2.147 MB / 1.385 GB, free: 5.141 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/0.5088, allocations: 364 kB / 1.385 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.5127, allocations: 0.9555 MB / 1.386 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.5151, allocations: 1.211 MB / 1.387 GB, free: 2.613 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005693/0.5208, allocations: 1.629 MB / 1.389 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.5311, allocations: 5.195 MB / 1.394 GB, free: 11.76 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.5311, allocations: 3.984 kB / 1.394 GB, free: 11.76 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5311, allocations: 0 / 1.394 GB, free: 11.76 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002279/0.5313, allocations: 3.938 kB / 1.394 GB, free: 11.75 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.01389/0.5452, allocations: 4.643 MB / 1.398 GB, free: 7.012 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5453, allocations: 8.031 kB / 1.398 GB, free: 7.004 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008568/0.5461, allocations: 358.3 kB / 1.399 GB, free: 6.645 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.5632, allocations: 3.279 MB / 1.402 GB, free: 3.359 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00597/0.5692, allocations: 2.159 MB / 1.404 GB, free: 1.125 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/0.5697, allocations: 474 kB / 1.404 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007523/0.5704, allocations: 239.9 kB / 1.405 GB, free: 372 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.5841, allocations: 5.367 MB / 1.41 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/0.5841, allocations: 0 / 1.41 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.5845, allocations: 104 kB / 1.41 GB, free: 10.64 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.5848, allocations: 172.8 kB / 1.41 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.6003, allocations: 5.191 MB / 1.415 GB, free: 5.262 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02352/0.6238, allocations: 9.166 MB / 1.424 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.6345, allocations: 3.246 MB / 1.427 GB, free: 8.699 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/0.6387, allocations: 1.373 MB / 1.429 GB, free: 7.328 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.6388, allocations: 21.31 kB / 1.429 GB, free: 7.309 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005427/0.6442, allocations: 2.448 MB / 1.431 GB, free: 4.633 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 4.569e-06/0.6442, allocations: 0 / 1.431 GB, free: 4.633 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1389/0.7832, allocations: 27.54 MB / 1.458 GB, free: 9.035 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003335/0.7835, allocations: 0.4928 MB / 1.458 GB, free: 8.434 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.7874, allocations: 2.316 MB / 1.461 GB, free: 6.105 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005158/0.7879, allocations: 81.69 kB / 1.461 GB, free: 6.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.7896, allocations: 1.456 MB / 1.462 GB, free: 4.551 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.7908, allocations: 0.8559 MB / 1.463 GB, free: 3.688 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009475/0.7917, allocations: 424.5 kB / 1.463 GB, free: 3.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7919, allocations: 305.1 kB / 1.464 GB, free: 2.965 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006138/0.798, allocations: 2.066 MB / 1.466 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006983/0.805, allocations: 2.77 MB / 1.468 GB, free: 13.88 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.8174, allocations: 4.169 MB / 1.473 GB, free: 9.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.8174, allocations: 0 / 1.473 GB, free: 9.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02183/0.8393, allocations: 6.62 MB / 1.479 GB, free: 2.832 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.8394, allocations: 148.5 kB / 1.479 GB, free: 2.656 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.8394, allocations: 4 kB / 1.479 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/0.8506, allocations: 2.92 MB / 1.482 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/0.8538, allocations: 491.2 kB / 1.482 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0458/0.8996, allocations: 18.3 MB / 1.5 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/0.9039, allocations: 323.6 kB / 1.501 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.9043, allocations: 91.97 kB / 1.501 GB, free: 12.34 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.001693/0.906, allocations: 0.7107 MB / 1.501 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008077/0.9068, allocations: 349.9 kB / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.9077, allocations: 380.1 kB / 1.502 GB, free: 10.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.9078, allocations: 24 kB / 1.502 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.338e-05/0.9078, allocations: 8 kB / 1.502 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.9078, allocations: 15.95 kB / 1.502 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.914, allocations: 3.035 MB / 1.505 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/0.914, allocations: 7.984 kB / 1.505 GB, free: 7.766 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/0.9166, allocations: 415.3 kB / 1.506 GB, free: 7.359 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/0.9277, allocations: 2.863 MB / 1.508 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005312/0.9282, allocations: 55.97 kB / 1.508 GB, free: 4.434 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04439/0.9726, allocations: 18.06 MB / 1.526 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9726, allocations: 0 / 1.526 GB, free: 2.125 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/0.9929, allocations: 6.12 MB / 1.532 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/0.9954, allocations: 0.6265 MB / 1.533 GB, free: 11.35 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/0.9963, allocations: 55.92 kB / 1.533 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003642/0.9999, allocations: 323.6 kB / 1.533 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/1.001, allocations: 354.5 kB / 1.533 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.001, allocations: 79.97 kB / 1.533 GB, free: 10.55 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00268/1.004, allocations: 1.528 MB / 1.535 GB, free: 9.023 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/1.004, allocations: 4.562 kB / 1.535 GB, free: 9.02 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003291/1.007, allocations: 1.043 MB / 1.536 GB, free: 7.977 MB / 1.232 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.02094/1.028, allocations: 6.752 MB / 1.542 GB, free: 1.18 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02595/1.054, allocations: 6.454 MB / 1.549 GB, free: 10.6 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.054, allocations: 4 kB / 1.549 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01875/1.073, allocations: 3.927 MB / 1.553 GB, free: 6.637 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005433/1.079, allocations: 1.132 MB / 1.554 GB, free: 5.547 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08649/1.165, allocations: 32.38 MB / 1.585 GB, free: 4.574 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.168, allocations: 1.688 MB / 1.587 GB, free: 2.844 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002545/1.17, allocations: 0.5097 MB / 1.588 GB, free: 2.328 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/1.172, allocations: 1.339 MB / 1.589 GB, free: 0.9883 MB / 1.279 GB Notification: Performance of SimCode: time 1.453e-06/1.172, allocations: 0 / 1.589 GB, free: 0.9883 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9021/2.075, allocations: 107.2 MB / 1.693 GB, free: 208.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/20.33, allocations: 5.391 kB / 1.693 GB, free: 208.6 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.08600339014083] Failed to read output from testmodel.py, exit status != 0: 20.51893801195547 20.529355841 19.99558313 Calling exit ...