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.001303/0.001303, allocations: 110.1 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.001482/0.001482, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.714/2.714, allocations: 476.7 MB / 0.7715 GB, free: 4.27 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.001947/0.001947, allocations: 63.08 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02983/0.3562, allocations: 23.5 MB / 1.307 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03001/0.3862, allocations: 18.18 MB / 1.325 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.3908, allocations: 150.8 kB / 1.325 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.403, allocations: 4.351 MB / 1.329 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.415, allocations: 3.592 MB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.4196, allocations: 1.342 MB / 1.334 GB, free: 8.473 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.4313, allocations: 5.787 MB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005239/0.4365, allocations: 2.877 MB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.4419, allocations: 2.523 MB / 1.345 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005825/0.4477, allocations: 2.51 MB / 1.347 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.4493, allocations: 368 kB / 1.348 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.4525, allocations: 1.061 MB / 1.349 GB, free: 9.238 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002214/0.4547, allocations: 1.226 MB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004757/0.4595, allocations: 1.998 MB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4695, allocations: 5.183 MB / 1.357 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.4695, allocations: 7.922 kB / 1.357 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4695, allocations: 0 / 1.357 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001968/0.4697, allocations: 0 / 1.357 GB, free: 0.7891 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.01307/0.4828, allocations: 4.655 MB / 1.362 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4828, allocations: 8.031 kB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.598e-05/0.4829, allocations: 64.92 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006805/0.4836, allocations: 362.3 kB / 1.362 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.4998, allocations: 3.279 MB / 1.365 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.5054, allocations: 2.147 MB / 1.367 GB, free: 6.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/0.506, allocations: 469.9 kB / 1.368 GB, free: 5.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007502/0.5067, allocations: 232 kB / 1.368 GB, free: 5.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.5184, allocations: 4.818 MB / 1.373 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.5185, allocations: 7.938 kB / 1.373 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.5188, allocations: 104 kB / 1.373 GB, free: 272 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.519, allocations: 168.8 kB / 1.373 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.5339, allocations: 5.191 MB / 1.378 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.5613, allocations: 14.36 MB / 1.392 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.5717, allocations: 3.266 MB / 1.395 GB, free: 8.086 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.5758, allocations: 1.373 MB / 1.397 GB, free: 6.715 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.576, allocations: 21.3 kB / 1.397 GB, free: 6.695 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005032/0.581, allocations: 1.794 MB / 1.398 GB, free: 4.832 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.638e-06/0.581, allocations: 0 / 1.398 GB, free: 4.832 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1348/0.7158, allocations: 27.53 MB / 1.425 GB, free: 9.238 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003169/0.7161, allocations: 0.4889 MB / 1.426 GB, free: 8.641 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.72, allocations: 2.3 MB / 1.428 GB, free: 6.328 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.7204, allocations: 81.64 kB / 1.428 GB, free: 6.242 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.7219, allocations: 1.46 MB / 1.429 GB, free: 4.773 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.723, allocations: 0.8637 MB / 1.43 GB, free: 3.902 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.7242, allocations: 412.5 kB / 1.431 GB, free: 3.492 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7243, allocations: 305.1 kB / 1.431 GB, free: 3.191 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005613/0.7299, allocations: 1.925 MB / 1.433 GB, free: 1.262 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006099/0.736, allocations: 2.231 MB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.7473, allocations: 4.158 MB / 1.439 GB, free: 10.65 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.7473, allocations: 7.938 kB / 1.439 GB, free: 10.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02012/0.7674, allocations: 6.474 MB / 1.445 GB, free: 4.074 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.7676, allocations: 148.5 kB / 1.446 GB, free: 3.898 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.7676, allocations: 8 kB / 1.446 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.7788, allocations: 2.924 MB / 1.448 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.7819, allocations: 499.2 kB / 1.449 GB, free: 484 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04471/0.8266, allocations: 18.65 MB / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/0.8307, allocations: 323.6 kB / 1.467 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004806/0.8312, allocations: 84.17 kB / 1.468 GB, free: 13.22 MB / 1.17 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.001851/0.8331, allocations: 0.7102 MB / 1.468 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009553/0.834, allocations: 349.8 kB / 1.469 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.835, allocations: 384.1 kB / 1.469 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.835, allocations: 24 kB / 1.469 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-05/0.835, allocations: 16 kB / 1.469 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.8351, allocations: 11.95 kB / 1.469 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.8408, allocations: 3.607 MB / 1.472 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.8408, allocations: 0 / 1.472 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.8434, allocations: 411.4 kB / 1.473 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/0.8537, allocations: 2.875 MB / 1.476 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004467/0.8541, allocations: 55.97 kB / 1.476 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04368/0.8978, allocations: 18.41 MB / 1.494 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8978, allocations: 0 / 1.494 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/0.9177, allocations: 6.116 MB / 1.5 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/0.9199, allocations: 0.6265 MB / 1.5 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/0.921, allocations: 51.94 kB / 1.5 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003678/0.9247, allocations: 323.6 kB / 1.501 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/0.926, allocations: 354.5 kB / 1.501 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/0.9263, allocations: 75.97 kB / 1.501 GB, free: 10.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002945/0.9293, allocations: 1.528 MB / 1.503 GB, free: 8.973 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.9293, allocations: 0 / 1.503 GB, free: 8.973 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003851/0.9331, allocations: 1.043 MB / 1.504 GB, free: 7.93 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.02132/0.9545, allocations: 6.753 MB / 1.51 GB, free: 1.141 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0247/0.9792, allocations: 6.312 MB / 1.516 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9792, allocations: 4 kB / 1.516 GB, free: 10.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/0.9974, allocations: 3.935 MB / 1.52 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008269/1.006, allocations: 1.129 MB / 1.521 GB, free: 5.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08968/1.095, allocations: 31.83 MB / 1.552 GB, free: 5.367 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002939/1.098, allocations: 2.234 MB / 1.555 GB, free: 3.098 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002465/1.101, allocations: 0.5019 MB / 1.555 GB, free: 2.59 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002221/1.103, allocations: 1.335 MB / 1.556 GB, free: 1.254 MB / 1.248 GB Notification: Performance of SimCode: time 1.342e-06/1.103, allocations: 7.938 kB / 1.556 GB, free: 1.246 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8144/1.917, allocations: 105.9 MB / 1.66 GB, free: 273.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.14/23.06, allocations: 8.766 kB / 1.66 GB, free: 273.5 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: 29.63591172400629] Failed to read output from testmodel.py, exit status != 0: 23.784644507977646 23.309680468 22.836380964 Calling exit ...