Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.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.0009986/0.0009986, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0009237/0.0009237, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9248/0.9248, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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 1.806/1.806, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_13_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.132e-05, allocations: 2.281 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5618/0.5618, allocations: 143.1 MB / 1.14 GB, free: 10.86 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.5653, allocations: 2.744 MB / 1.143 GB, free: 9.016 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.5655, allocations: 27.5 kB / 1.143 GB, free: 9 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.5661, allocations: 196.6 kB / 1.143 GB, free: 8.898 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.5674, allocations: 0.8258 MB / 1.144 GB, free: 8.438 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.5679, allocations: 360.3 kB / 1.144 GB, free: 8.238 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009031/0.5688, allocations: 0.9763 MB / 1.145 GB, free: 7.773 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.569, allocations: 214.4 kB / 1.146 GB, free: 7.668 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.5696, allocations: 0.4891 MB / 1.146 GB, free: 7.449 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006311/0.5703, allocations: 257 kB / 1.146 GB, free: 7.371 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.5703, allocations: 37.75 kB / 1.146 GB, free: 7.367 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.571, allocations: 0.5422 MB / 1.147 GB, free: 7.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5711, allocations: 144.4 kB / 1.147 GB, free: 7.086 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.5712, allocations: 155.4 kB / 1.147 GB, free: 7.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.5721, allocations: 0.7494 MB / 1.148 GB, free: 6.766 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5721, allocations: 1.125 kB / 1.148 GB, free: 6.766 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5721, allocations: 0 / 1.148 GB, free: 6.766 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.5721, allocations: 0.6094 kB / 1.148 GB, free: 6.766 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009081/0.573, allocations: 0.6544 MB / 1.149 GB, free: 6.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5731, allocations: 11.64 kB / 1.149 GB, free: 6.27 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.5731, allocations: 60.91 kB / 1.149 GB, free: 6.215 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.5738, allocations: 135.7 kB / 1.149 GB, free: 6.188 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.5743, allocations: 361.5 kB / 1.149 GB, free: 5.934 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5743, allocations: 23.7 kB / 1.149 GB, free: 5.922 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.5743, allocations: 27.83 kB / 1.149 GB, free: 5.91 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.5747, allocations: 376 kB / 1.149 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5747, allocations: 0.6094 kB / 1.149 GB, free: 5.656 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.5747, allocations: 11.06 kB / 1.149 GB, free: 5.648 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5748, allocations: 9.641 kB / 1.149 GB, free: 5.648 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.575, allocations: 196.6 kB / 1.15 GB, free: 5.582 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.5763, allocations: 0.8471 MB / 1.151 GB, free: 5.016 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.5767, allocations: 185.5 kB / 1.151 GB, free: 4.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.5768, allocations: 80.8 kB / 1.151 GB, free: 4.895 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.5768, allocations: 2.422 kB / 1.151 GB, free: 4.895 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5769, allocations: 37.45 kB / 1.151 GB, free: 4.852 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.5769, allocations: 5.094 kB / 1.151 GB, free: 4.848 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.0006686/0.5775, allocations: 321.7 kB / 1.151 GB, free: 4.707 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5776, allocations: 54.52 kB / 1.151 GB, free: 4.645 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.5778, allocations: 303.8 kB / 1.151 GB, free: 4.484 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.5778, allocations: 35.05 kB / 1.151 GB, free: 4.445 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.578, allocations: 199.9 kB / 1.152 GB, free: 4.277 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.578, allocations: 68.66 kB / 1.152 GB, free: 4.223 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.5781, allocations: 45.55 kB / 1.152 GB, free: 4.191 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.5782, allocations: 339.2 kB / 1.152 GB, free: 3.867 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.5782, allocations: 62.42 kB / 1.152 GB, free: 3.844 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5783, allocations: 112.5 kB / 1.152 GB, free: 3.762 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.5786, allocations: 204.2 kB / 1.152 GB, free: 3.629 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5786, allocations: 1.219 kB / 1.152 GB, free: 3.629 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002715/0.5788, allocations: 244.7 kB / 1.153 GB, free: 3.508 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5788, allocations: 5.281 kB / 1.153 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5788, allocations: 2.609 kB / 1.153 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5789, allocations: 7.344 kB / 1.153 GB, free: 3.504 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.579, allocations: 42.89 kB / 1.153 GB, free: 3.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.579, allocations: 7.578 kB / 1.153 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5791, allocations: 20.58 kB / 1.153 GB, free: 3.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.5791, allocations: 6.938 kB / 1.153 GB, free: 3.48 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.5793, allocations: 168 kB / 1.153 GB, free: 3.336 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.5793, allocations: 30.97 kB / 1.153 GB, free: 3.32 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.5794, allocations: 35.78 kB / 1.153 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.5794, allocations: 6.781 kB / 1.153 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5794, allocations: 0 / 1.153 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5794, allocations: 6.312 kB / 1.153 GB, free: 3.293 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.5798, allocations: 321.2 kB / 1.153 GB, free: 3.066 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5798, allocations: 4.516 kB / 1.153 GB, free: 3.062 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.5799, allocations: 36.98 kB / 1.153 GB, free: 3.055 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.58, allocations: 40.77 kB / 1.153 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5801, allocations: 6.109 kB / 1.153 GB, free: 3.035 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/0.5809, allocations: 1.408 MB / 1.155 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5809, allocations: 4.062 kB / 1.155 GB, free: 1.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.5813, allocations: 399.3 kB / 1.155 GB, free: 1.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.5814, allocations: 48.92 kB / 1.155 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.5815, allocations: 10.55 kB / 1.155 GB, free: 1.395 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5816, allocations: 12.38 kB / 1.155 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.5816, allocations: 15.45 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5816, allocations: 6.562 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001836/0.5818, allocations: 215.9 kB / 1.155 GB, free: 1.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5818, allocations: 1.062 kB / 1.155 GB, free: 1.27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002999/0.5821, allocations: 109.1 kB / 1.156 GB, free: 1.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007629/0.5829, allocations: 0.943 MB / 1.157 GB, free: 472 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.5831, allocations: 162.5 kB / 1.157 GB, free: 412 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5831, allocations: 1.125 kB / 1.157 GB, free: 412 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.5833, allocations: 201.5 kB / 1.157 GB, free: 264 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.584, allocations: 208.6 kB / 1.157 GB, free: 208 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.5867, allocations: 2.853 MB / 1.16 GB, free: 14.25 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.5869, allocations: 192.2 kB / 1.16 GB, free: 14.16 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.5871, allocations: 58.03 kB / 1.16 GB, free: 14.15 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5872, allocations: 107.8 kB / 1.16 GB, free: 14.07 MB / 1.026 GB Notification: Performance of SimCode: time 4.61e-07/0.5872, allocations: 0 / 1.16 GB, free: 14.07 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08461/0.6718, allocations: 10.36 MB / 1.17 GB, free: 12.39 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.788, allocations: 11.5 kB / 1.17 GB, free: 12.38 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu) > Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy_res.csv --start-time 0 --stop-time 10800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 ../Buildings_13_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu) > Buildings_13_Buildings.Examples.Tutorial.SpaceCooling.System1_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.237913765013218]