Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00179/0.00179, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002254/0.002254, allocations: 212.6 kB / 23.02 MB, free: 4.953 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 / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.683/2.683, allocations: 476.8 MB / 0.7715 GB, free: 3.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_11_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.001983/0.001983, allocations: 62.52 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02885/0.3376, allocations: 21.23 MB / 1.305 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03146/0.369, allocations: 16.81 MB / 1.321 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004245/0.3733, allocations: 150.8 kB / 1.321 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.3854, allocations: 4.153 MB / 1.325 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.3977, allocations: 3.595 MB / 1.329 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.402, allocations: 1.319 MB / 1.33 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.4125, allocations: 5.793 MB / 1.336 GB, free: 5.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006368/0.4188, allocations: 2.882 MB / 1.339 GB, free: 2.449 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.4242, allocations: 2.539 MB / 1.341 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005375/0.4296, allocations: 2.506 MB / 1.344 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.431, allocations: 368 kB / 1.344 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.4342, allocations: 0.971 MB / 1.345 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.4363, allocations: 1.215 MB / 1.346 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.4397, allocations: 1.649 MB / 1.348 GB, free: 9.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008005/0.4477, allocations: 5.226 MB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4477, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4477, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001849/0.4479, allocations: 8 kB / 1.353 GB, free: 3.926 MB / 1.045 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.01188/0.4598, allocations: 4.649 MB / 1.357 GB, free: 15.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4598, allocations: 12.03 kB / 1.357 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.813e-05/0.4599, allocations: 60.92 kB / 1.357 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005955/0.4605, allocations: 366.3 kB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.4762, allocations: 3.287 MB / 1.361 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.4816, allocations: 2.135 MB / 1.363 GB, free: 9.234 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005405/0.4822, allocations: 463.4 kB / 1.364 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.4832, allocations: 236 kB / 1.364 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.4965, allocations: 5.88 MB / 1.37 GB, free: 2.203 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.767e-05/0.4966, allocations: 7.938 kB / 1.37 GB, free: 2.195 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006744/0.4972, allocations: 103.9 kB / 1.37 GB, free: 2.094 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/0.4975, allocations: 172.8 kB / 1.37 GB, free: 1.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.5119, allocations: 5.191 MB / 1.375 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.5362, allocations: 9.181 MB / 1.384 GB, free: 3.406 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.5466, allocations: 3.243 MB / 1.387 GB, free: 156 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/0.5505, allocations: 1.373 MB / 1.388 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.5506, allocations: 21.25 kB / 1.388 GB, free: 14.76 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005072/0.5557, allocations: 2.45 MB / 1.391 GB, free: 12.08 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 6.823e-06/0.5557, allocations: 4 kB / 1.391 GB, free: 12.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1241/0.6798, allocations: 27.55 MB / 1.418 GB, free: 488 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003257/0.6801, allocations: 0.4889 MB / 1.418 GB, free: 15.88 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.684, allocations: 2.3 MB / 1.42 GB, free: 13.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004783/0.6845, allocations: 73.7 kB / 1.42 GB, free: 13.49 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.686, allocations: 1.46 MB / 1.422 GB, free: 12.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.6873, allocations: 0.8559 MB / 1.423 GB, free: 11.15 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.6886, allocations: 420.4 kB / 1.423 GB, free: 10.73 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6887, allocations: 309.1 kB / 1.423 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005552/0.6943, allocations: 2.066 MB / 1.425 GB, free: 8.328 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006121/0.7004, allocations: 2.766 MB / 1.428 GB, free: 5.348 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.7117, allocations: 4.169 MB / 1.432 GB, free: 1.043 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.7117, allocations: 4 kB / 1.432 GB, free: 1.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02022/0.7319, allocations: 6.612 MB / 1.439 GB, free: 10.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.7321, allocations: 156.8 kB / 1.439 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.7321, allocations: 12 kB / 1.439 GB, free: 10.11 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/0.7428, allocations: 2.916 MB / 1.442 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.7457, allocations: 491.2 kB / 1.442 GB, free: 6.699 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04306/0.7887, allocations: 18.28 MB / 1.46 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/0.7927, allocations: 323.6 kB / 1.46 GB, free: 3.902 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/0.7931, allocations: 95.91 kB / 1.46 GB, free: 3.809 MB / 1.154 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.001673/0.7948, allocations: 0.7064 MB / 1.461 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008247/0.7956, allocations: 349.8 kB / 1.461 GB, free: 2.746 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008867/0.7965, allocations: 392.1 kB / 1.462 GB, free: 2.355 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.7965, allocations: 24 kB / 1.462 GB, free: 2.332 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/0.7966, allocations: 12 kB / 1.462 GB, free: 2.32 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.7966, allocations: 11.95 kB / 1.462 GB, free: 2.309 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.8016, allocations: 3.031 MB / 1.465 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.8016, allocations: 0 / 1.465 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002732/0.8044, allocations: 419.3 kB / 1.465 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/0.8151, allocations: 2.867 MB / 1.468 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/0.8156, allocations: 51.97 kB / 1.468 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03941/0.855, allocations: 18.07 MB / 1.486 GB, free: 9.586 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.855, allocations: 3.938 kB / 1.486 GB, free: 9.582 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/0.8732, allocations: 6.112 MB / 1.492 GB, free: 3.434 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.8752, allocations: 0.6381 MB / 1.492 GB, free: 2.793 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000622/0.8758, allocations: 44 kB / 1.492 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/0.879, allocations: 319.6 kB / 1.493 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/0.8802, allocations: 358.5 kB / 1.493 GB, free: 2.086 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.8804, allocations: 75.91 kB / 1.493 GB, free: 2.012 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002392/0.8828, allocations: 1.532 MB / 1.495 GB, free: 492 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8828, allocations: 8 kB / 1.495 GB, free: 484 kB / 1.186 GB Notification: Performance of remove unused functions: time 0.003462/0.8863, allocations: 1.047 MB / 1.496 GB, free: 15.42 MB / 1.201 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.01828/0.9046, allocations: 6.734 MB / 1.502 GB, free: 8.656 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0228/0.9274, allocations: 6.457 MB / 1.508 GB, free: 2.07 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9274, allocations: 0 / 1.508 GB, free: 2.07 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01704/0.9444, allocations: 3.928 MB / 1.512 GB, free: 14.12 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/0.9497, allocations: 1.135 MB / 1.513 GB, free: 13.02 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07455/1.024, allocations: 32.39 MB / 1.545 GB, free: 12.04 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/1.026, allocations: 1.692 MB / 1.547 GB, free: 10.31 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002439/1.029, allocations: 0.5058 MB / 1.547 GB, free: 9.797 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/1.031, allocations: 1.339 MB / 1.548 GB, free: 8.457 MB / 1.248 GB Notification: Performance of SimCode: time 9.71e-07/1.031, allocations: 0 / 1.548 GB, free: 8.457 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7777/1.808, allocations: 107 MB / 1.653 GB, free: 280 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.82/23.63, allocations: 4.719 kB / 1.653 GB, free: 280 MB / 1.295 GB " [Timeout remaining time 276] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 30.218776328954846] Failed to read output from testmodel.py, exit status != 0: 24.345204451004975 23.890281637 23.438326515 Calling exit ...