Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001046/0.001046, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001219/0.001219, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9684/0.9684, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.014/2.014, allocations: 0.5046 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.83 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7329, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01558/0.7484, allocations: 21.25 MB / 1.373 GB, free: 12.33 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.7666, allocations: 16.85 MB / 1.39 GB, free: 11.43 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.7697, allocations: 170.6 kB / 1.39 GB, free: 11.26 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.006247/0.776, allocations: 4.162 MB / 1.394 GB, free: 7.094 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.008778/0.7848, allocations: 3.592 MB / 1.397 GB, free: 3.496 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.7878, allocations: 1.314 MB / 1.399 GB, free: 2.188 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.007826/0.7956, allocations: 5.789 MB / 1.404 GB, free: 12.38 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004433/0.8001, allocations: 2.83 MB / 1.407 GB, free: 9.469 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.8047, allocations: 2.824 MB / 1.41 GB, free: 6.637 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.8085, allocations: 2.151 MB / 1.412 GB, free: 4.477 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0009805/0.8095, allocations: 364 kB / 1.412 GB, free: 4.121 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.8118, allocations: 0.9516 MB / 1.413 GB, free: 3.168 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.8129, allocations: 1.215 MB / 1.414 GB, free: 1.949 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.8155, allocations: 1.633 MB / 1.416 GB, free: 316 kB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.006569/0.8221, allocations: 5.199 MB / 1.421 GB, free: 11.09 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8221, allocations: 3.938 kB / 1.421 GB, free: 11.09 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8221, allocations: 0 / 1.421 GB, free: 11.09 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0002352/0.8223, allocations: 0 / 1.421 GB, free: 11.09 MB / 1.104 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.009522/0.8319, allocations: 4.637 MB / 1.426 GB, free: 6.352 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.8319, allocations: 8.922 kB / 1.426 GB, free: 6.344 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005193/0.8324, allocations: 362.3 kB / 1.426 GB, free: 5.98 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/0.8407, allocations: 3.287 MB / 1.429 GB, free: 2.688 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.845, allocations: 2.166 MB / 1.431 GB, free: 460 kB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.8454, allocations: 470.1 kB / 1.432 GB, free: 15.92 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000871/0.8462, allocations: 232 kB / 1.432 GB, free: 15.7 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008309/0.8546, allocations: 5.367 MB / 1.437 GB, free: 10.08 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.8546, allocations: 3.938 kB / 1.437 GB, free: 10.07 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.8548, allocations: 99.98 kB / 1.437 GB, free: 9.977 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.855, allocations: 172.8 kB / 1.438 GB, free: 9.805 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009147/0.8641, allocations: 5.191 MB / 1.443 GB, free: 4.598 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.8804, allocations: 9.158 MB / 1.452 GB, free: 11.31 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.886, allocations: 3.257 MB / 1.455 GB, free: 8.039 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.8885, allocations: 1.369 MB / 1.456 GB, free: 6.668 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.8886, allocations: 25.3 kB / 1.456 GB, free: 6.645 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002782/0.8914, allocations: 2.448 MB / 1.458 GB, free: 3.969 MB / 1.135 GB Notification: Performance of pre-optimization done (n=163): time 3.366e-06/0.8914, allocations: 0 / 1.458 GB, free: 3.969 MB / 1.135 GB Notification: Performance of matching and sorting (n=250): time 0.06361/0.955, allocations: 27.54 MB / 1.485 GB, free: 8.379 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.9552, allocations: 0.4967 MB / 1.486 GB, free: 7.773 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.958, allocations: 2.316 MB / 1.488 GB, free: 5.445 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005049/0.9585, allocations: 77.7 kB / 1.488 GB, free: 5.363 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.9595, allocations: 1.452 MB / 1.49 GB, free: 3.898 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007566/0.9602, allocations: 0.8598 MB / 1.49 GB, free: 3.031 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007894/0.961, allocations: 424.5 kB / 1.491 GB, free: 2.609 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.9611, allocations: 305.1 kB / 1.491 GB, free: 2.309 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.9642, allocations: 2.062 MB / 1.493 GB, free: 216 kB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.9677, allocations: 2.77 MB / 1.496 GB, free: 13.23 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006788/0.9745, allocations: 4.169 MB / 1.5 GB, free: 8.922 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.9745, allocations: 4 kB / 1.5 GB, free: 8.918 MB / 1.182 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01118/0.9857, allocations: 6.616 MB / 1.506 GB, free: 2.18 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.956e-05/0.9858, allocations: 148.5 kB / 1.507 GB, free: 2.004 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.9858, allocations: 8 kB / 1.507 GB, free: 1.996 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.9915, allocations: 2.921 MB / 1.509 GB, free: 15.07 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.9932, allocations: 499.2 kB / 1.51 GB, free: 14.58 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/1.018, allocations: 18.29 MB / 1.528 GB, free: 12.09 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/1.021, allocations: 323.6 kB / 1.528 GB, free: 11.77 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/1.021, allocations: 87.97 kB / 1.528 GB, free: 11.69 MB / 1.214 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.001436/1.023, allocations: 0.7172 MB / 1.529 GB, free: 10.96 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/1.023, allocations: 349.8 kB / 1.529 GB, free: 10.62 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/1.024, allocations: 384.1 kB / 1.529 GB, free: 10.24 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.024, allocations: 24 kB / 1.53 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.024, allocations: 8 kB / 1.53 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.024, allocations: 11.95 kB / 1.53 GB, free: 10.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/1.028, allocations: 3.035 MB / 1.533 GB, free: 7.113 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.028, allocations: 3.938 kB / 1.533 GB, free: 7.109 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.029, allocations: 423.3 kB / 1.533 GB, free: 6.695 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005719/1.035, allocations: 2.867 MB / 1.536 GB, free: 3.82 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004155/1.035, allocations: 47.97 kB / 1.536 GB, free: 3.773 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/1.059, allocations: 18.06 MB / 1.553 GB, free: 1.477 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.059, allocations: 4 kB / 1.553 GB, free: 1.473 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.071, allocations: 6.112 MB / 1.559 GB, free: 11.32 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.073, allocations: 0.6342 MB / 1.56 GB, free: 10.69 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/1.073, allocations: 51.94 kB / 1.56 GB, free: 10.64 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.075, allocations: 315.6 kB / 1.56 GB, free: 10.33 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/1.076, allocations: 363.1 kB / 1.561 GB, free: 9.969 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.077, allocations: 79.95 kB / 1.561 GB, free: 9.891 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.001972/1.079, allocations: 1.532 MB / 1.562 GB, free: 8.359 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.91e-07/1.079, allocations: 0 / 1.562 GB, free: 8.359 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.002998/1.082, allocations: 1.043 MB / 1.563 GB, free: 7.316 MB / 1.245 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.01153/1.093, allocations: 6.752 MB / 1.57 GB, free: 0.5312 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.107, allocations: 6.454 MB / 1.576 GB, free: 9.949 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.107, allocations: 0.75 kB / 1.576 GB, free: 9.949 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.009561/1.116, allocations: 3.934 MB / 1.58 GB, free: 5.984 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/1.12, allocations: 1.137 MB / 1.581 GB, free: 4.887 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05286/1.173, allocations: 32.38 MB / 1.613 GB, free: 3.914 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/1.175, allocations: 1.681 MB / 1.614 GB, free: 2.191 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.001964/1.177, allocations: 0.5058 MB / 1.615 GB, free: 1.68 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.179, allocations: 1.339 MB / 1.616 GB, free: 348 kB / 1.292 GB Notification: Performance of SimCode: time 1.683e-06/1.179, allocations: 0 / 1.616 GB, free: 348 kB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7861/1.965, allocations: 107.2 MB / 1.721 GB, free: 337 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/13.5, allocations: 5.328 kB / 1.721 GB, free: 337 MB / 1.385 GB " [Timeout remaining time 286] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.551809432916343]