Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001702/0.001702, 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.001984/0.001984, allocations: 223 kB / 23.03 MB, free: 4.941 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.199/3.199, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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.001958/0.001958, allocations: 62.77 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.407, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03026/0.4372, allocations: 21.23 MB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03441/0.4716, allocations: 16.83 MB / 1.382 GB, free: 9.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/0.4763, allocations: 150.8 kB / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/0.4892, allocations: 4.151 MB / 1.387 GB, free: 5.441 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.5028, allocations: 3.579 MB / 1.39 GB, free: 1.852 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.5072, allocations: 1.324 MB / 1.391 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.5182, allocations: 5.807 MB / 1.397 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006814/0.525, allocations: 2.877 MB / 1.4 GB, free: 7.75 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.5311, allocations: 2.519 MB / 1.402 GB, free: 5.223 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006091/0.5372, allocations: 2.514 MB / 1.405 GB, free: 2.699 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.5391, allocations: 372 kB / 1.405 GB, free: 2.336 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.5428, allocations: 0.9594 MB / 1.406 GB, free: 1.375 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.5452, allocations: 1.219 MB / 1.407 GB, free: 156 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004341/0.5496, allocations: 1.649 MB / 1.409 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.56, allocations: 5.226 MB / 1.414 GB, free: 9.25 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.56, allocations: 0 / 1.414 GB, free: 9.25 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.966e-06/0.56, allocations: 4 kB / 1.414 GB, free: 9.246 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002644/0.5602, allocations: 3.938 kB / 1.414 GB, free: 9.242 MB / 1.107 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.0164/0.5766, allocations: 4.659 MB / 1.419 GB, free: 4.484 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5767, allocations: 15.97 kB / 1.419 GB, free: 4.469 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001093/0.5768, allocations: 60.92 kB / 1.419 GB, free: 4.406 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/0.5782, allocations: 366.3 kB / 1.419 GB, free: 4.039 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.5948, allocations: 3.279 MB / 1.422 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006358/0.6012, allocations: 2.135 MB / 1.424 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00063/0.6018, allocations: 465.9 kB / 1.425 GB, free: 14.03 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.6033, allocations: 232 kB / 1.425 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.6179, allocations: 5.88 MB / 1.431 GB, free: 7.516 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.618, allocations: 0 / 1.431 GB, free: 7.516 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/0.6184, allocations: 104 kB / 1.431 GB, free: 7.414 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/0.6186, allocations: 172.8 kB / 1.431 GB, free: 7.242 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.6327, allocations: 5.194 MB / 1.436 GB, free: 2.031 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.6545, allocations: 9.181 MB / 1.445 GB, free: 8.723 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/0.6643, allocations: 3.25 MB / 1.448 GB, free: 5.461 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/0.668, allocations: 1.369 MB / 1.45 GB, free: 4.086 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.6681, allocations: 21.31 kB / 1.45 GB, free: 4.066 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004679/0.6728, allocations: 2.451 MB / 1.452 GB, free: 1.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 3.867e-06/0.6728, allocations: 0 / 1.452 GB, free: 1.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.1233/0.7961, allocations: 27.54 MB / 1.479 GB, free: 5.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003218/0.7964, allocations: 0.4889 MB / 1.479 GB, free: 5.199 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.8003, allocations: 2.3 MB / 1.482 GB, free: 2.887 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005281/0.8009, allocations: 73.7 kB / 1.482 GB, free: 2.809 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.8025, allocations: 1.456 MB / 1.483 GB, free: 1.34 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.8037, allocations: 0.8637 MB / 1.484 GB, free: 480 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.8049, allocations: 420.5 kB / 1.484 GB, free: 52 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8051, allocations: 301.1 kB / 1.485 GB, free: 15.75 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005461/0.8105, allocations: 2.066 MB / 1.487 GB, free: 13.65 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.8166, allocations: 2.77 MB / 1.489 GB, free: 10.67 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.8273, allocations: 4.169 MB / 1.493 GB, free: 6.363 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.8273, allocations: 0 / 1.493 GB, free: 6.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01952/0.8468, allocations: 6.624 MB / 1.5 GB, free: 15.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.847, allocations: 148.5 kB / 1.5 GB, free: 15.44 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.847, allocations: 8 kB / 1.5 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/0.8579, allocations: 2.917 MB / 1.503 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.8609, allocations: 495.2 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0431/0.904, allocations: 18.29 MB / 1.521 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/0.9081, allocations: 319.6 kB / 1.521 GB, free: 9.227 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005286/0.9086, allocations: 91.97 kB / 1.522 GB, free: 9.137 MB / 1.217 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.001975/0.9106, allocations: 0.715 MB / 1.522 GB, free: 8.414 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009388/0.9115, allocations: 345.8 kB / 1.523 GB, free: 8.074 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009127/0.9124, allocations: 388.1 kB / 1.523 GB, free: 7.688 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/0.9124, allocations: 24 kB / 1.523 GB, free: 7.664 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.9125, allocations: 8 kB / 1.523 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.9125, allocations: 11.95 kB / 1.523 GB, free: 7.645 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.9179, allocations: 3.05 MB / 1.526 GB, free: 4.543 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.9179, allocations: 0 / 1.526 GB, free: 4.543 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/0.9204, allocations: 419.3 kB / 1.526 GB, free: 4.133 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/0.9308, allocations: 2.863 MB / 1.529 GB, free: 1.258 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/0.9313, allocations: 51.97 kB / 1.529 GB, free: 1.207 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04031/0.9716, allocations: 18.07 MB / 1.547 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9716, allocations: 0 / 1.547 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/0.9903, allocations: 6.116 MB / 1.553 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/0.9924, allocations: 0.6381 MB / 1.553 GB, free: 8.117 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000645/0.993, allocations: 47.94 kB / 1.554 GB, free: 8.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/0.9963, allocations: 315.6 kB / 1.554 GB, free: 7.762 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/0.9976, allocations: 362.5 kB / 1.554 GB, free: 7.41 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/0.9979, allocations: 67.97 kB / 1.554 GB, free: 7.344 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002373/1, allocations: 1.536 MB / 1.556 GB, free: 5.809 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1, allocations: 0.5625 kB / 1.556 GB, free: 5.809 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003211/1.003, allocations: 1.047 MB / 1.557 GB, free: 4.762 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.01799/1.021, allocations: 6.745 MB / 1.563 GB, free: 13.97 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.045, allocations: 6.461 MB / 1.57 GB, free: 7.383 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.045, allocations: 0 / 1.57 GB, free: 7.383 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0171/1.062, allocations: 3.927 MB / 1.574 GB, free: 3.43 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.067, allocations: 1.131 MB / 1.575 GB, free: 2.336 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07373/1.141, allocations: 32.38 MB / 1.606 GB, free: 1.348 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7125/1.853, allocations: 1.686 MB / 1.608 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002713/1.856, allocations: 0.5059 MB / 1.608 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.858, allocations: 1.336 MB / 1.61 GB, free: 246.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.293e-06/1.858, allocations: 0.7188 kB / 1.61 GB, free: 246.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/2.045, allocations: 107 MB / 1.714 GB, free: 174.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.13/23.18, allocations: 11.94 kB / 1.714 GB, free: 174.6 MB / 1.295 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 30.074904517037794] Failed to read output from testmodel.py, exit status != 0: 23.41888625198044 23.430333848 22.867661907 Calling exit ...