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.000789/0.000789, allocations: 100.3 kB / 19.72 MB, free: 428 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.0007856/0.0007856, allocations: 216.7 kB / 23.02 MB, free: 2.969 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 1.084/1.084, allocations: 230.6 MB / 256.8 MB, free: 9.617 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 1.953/1.953, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 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.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 0.001037/0.001037, allocations: 63.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8603, allocations: 180 MB / 1.352 GB, free: 1.707 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1338/0.9941, allocations: 143.1 MB / 1.492 GB, free: 2.035 MB / 1.167 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.9971, allocations: 2.735 MB / 1.495 GB, free: 15.29 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.9974, allocations: 23.81 kB / 1.495 GB, free: 15.27 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.9979, allocations: 190.9 kB / 1.495 GB, free: 15.08 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.9991, allocations: 0.8206 MB / 1.496 GB, free: 14.26 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.9995, allocations: 354.9 kB / 1.496 GB, free: 13.91 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.000799/1, allocations: 0.9547 MB / 1.497 GB, free: 12.96 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/1.001, allocations: 222.4 kB / 1.497 GB, free: 12.73 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/1.001, allocations: 394.6 kB / 1.498 GB, free: 12.35 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007316/1.002, allocations: 289.2 kB / 1.498 GB, free: 12.07 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/1.002, allocations: 36 kB / 1.498 GB, free: 12.03 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/1.002, allocations: 0.5337 MB / 1.499 GB, free: 11.5 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/1.002, allocations: 131.6 kB / 1.499 GB, free: 11.37 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.003, allocations: 175.2 kB / 1.499 GB, free: 11.2 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.0006553/1.003, allocations: 0.7397 MB / 1.5 GB, free: 10.45 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.003, allocations: 4 kB / 1.5 GB, free: 10.45 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.244e-06/1.003, allocations: 0 / 1.5 GB, free: 10.45 MB / 1.182 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.003, allocations: 4 kB / 1.5 GB, free: 10.45 MB / 1.182 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.0008117/1.004, allocations: 0.6484 MB / 1.5 GB, free: 9.766 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.004, allocations: 16.88 kB / 1.5 GB, free: 9.75 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/1.004, allocations: 54.55 kB / 1.5 GB, free: 9.688 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/1.005, allocations: 139.6 kB / 1.5 GB, free: 9.551 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/1.005, allocations: 367.9 kB / 1.501 GB, free: 9.164 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/1.005, allocations: 24.5 kB / 1.501 GB, free: 9.141 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/1.005, allocations: 24 kB / 1.501 GB, free: 9.117 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/1.006, allocations: 381.5 kB / 1.501 GB, free: 8.711 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.006, allocations: 0 / 1.501 GB, free: 8.711 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.006, allocations: 8 kB / 1.501 GB, free: 8.703 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/1.006, allocations: 12.5 kB / 1.501 GB, free: 8.691 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/1.006, allocations: 193.9 kB / 1.501 GB, free: 8.5 MB / 1.182 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.0009975/1.007, allocations: 0.8389 MB / 1.502 GB, free: 7.617 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/1.007, allocations: 185.7 kB / 1.502 GB, free: 7.43 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/1.007, allocations: 80.83 kB / 1.502 GB, free: 7.348 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/1.007, allocations: 4 kB / 1.502 GB, free: 7.344 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/1.007, allocations: 38.56 kB / 1.503 GB, free: 7.297 MB / 1.182 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/1.007, allocations: 0 / 1.503 GB, free: 7.297 MB / 1.182 GB Notification: Performance of matching and sorting (n=19): time 0.0005533/1.008, allocations: 328.1 kB / 1.503 GB, free: 6.969 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.008, allocations: 59.41 kB / 1.503 GB, free: 6.898 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/1.008, allocations: 304.5 kB / 1.503 GB, free: 6.594 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/1.008, allocations: 29.7 kB / 1.503 GB, free: 6.559 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.008, allocations: 196.3 kB / 1.503 GB, free: 6.363 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/1.008, allocations: 79.3 kB / 1.503 GB, free: 6.285 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/1.008, allocations: 45.7 kB / 1.503 GB, free: 6.234 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/1.008, allocations: 334.8 kB / 1.504 GB, free: 5.898 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/1.008, allocations: 63.97 kB / 1.504 GB, free: 5.836 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/1.008, allocations: 116.5 kB / 1.504 GB, free: 5.703 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/1.009, allocations: 195.6 kB / 1.504 GB, free: 5.492 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.009, allocations: 3.938 kB / 1.504 GB, free: 5.488 MB / 1.182 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002351/1.009, allocations: 251.1 kB / 1.504 GB, free: 5.238 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.009, allocations: 11.94 kB / 1.504 GB, free: 5.227 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.009, allocations: 8.109 kB / 1.504 GB, free: 5.219 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.009, allocations: 8 kB / 1.504 GB, free: 5.211 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.009, allocations: 39.98 kB / 1.504 GB, free: 5.172 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.009, allocations: 7.938 kB / 1.504 GB, free: 5.164 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/1.009, allocations: 15.89 kB / 1.505 GB, free: 5.148 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/1.009, allocations: 4 kB / 1.505 GB, free: 5.145 MB / 1.182 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.0001066/1.009, allocations: 162.4 kB / 1.505 GB, free: 4.977 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/1.009, allocations: 35.75 kB / 1.505 GB, free: 4.941 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/1.009, allocations: 35.02 kB / 1.505 GB, free: 4.902 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.009, allocations: 0 / 1.505 GB, free: 4.902 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.009, allocations: 7.938 kB / 1.505 GB, free: 4.895 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.009, allocations: 0 / 1.505 GB, free: 4.895 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/1.01, allocations: 328.5 kB / 1.505 GB, free: 4.531 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.01, allocations: 0 / 1.505 GB, free: 4.531 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/1.01, allocations: 35.92 kB / 1.505 GB, free: 4.496 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/1.01, allocations: 44.81 kB / 1.505 GB, free: 4.449 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.01, allocations: 4 kB / 1.505 GB, free: 4.445 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/1.011, allocations: 1.412 MB / 1.507 GB, free: 2.918 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.011, allocations: 0 / 1.507 GB, free: 2.918 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/1.011, allocations: 405.8 kB / 1.507 GB, free: 2.504 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/1.011, allocations: 47.78 kB / 1.507 GB, free: 2.457 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/1.011, allocations: 11.94 kB / 1.507 GB, free: 2.445 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/1.011, allocations: 3.984 kB / 1.507 GB, free: 2.441 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/1.011, allocations: 11.98 kB / 1.507 GB, free: 2.43 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/1.011, allocations: 11.98 kB / 1.507 GB, free: 2.418 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0001432/1.011, allocations: 215.1 kB / 1.507 GB, free: 2.207 MB / 1.182 GB Notification: Performance of sort global known variables: time 7e-08/1.011, allocations: 4.062 kB / 1.507 GB, free: 2.203 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0002543/1.012, allocations: 103.9 kB / 1.507 GB, free: 2.102 MB / 1.182 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.0006592/1.012, allocations: 0.9473 MB / 1.508 GB, free: 1.125 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0002102/1.013, allocations: 153.4 kB / 1.508 GB, free: 0.9766 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.013, allocations: 3.938 kB / 1.508 GB, free: 0.9727 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/1.013, allocations: 198.5 kB / 1.509 GB, free: 0.7656 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/1.013, allocations: 202 kB / 1.509 GB, free: 0.5742 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.016, allocations: 2.934 MB / 1.512 GB, free: 13.53 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/1.016, allocations: 186 kB / 1.512 GB, free: 13.32 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0001378/1.016, allocations: 59.25 kB / 1.512 GB, free: 13.27 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.016, allocations: 103.4 kB / 1.512 GB, free: 13.16 MB / 1.198 GB Notification: Performance of SimCode: time 6.81e-07/1.016, allocations: 0 / 1.512 GB, free: 13.16 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09117/1.107, allocations: 10.27 MB / 1.522 GB, free: 3.199 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/8.359, allocations: 10.02 kB / 1.522 GB, free: 3.191 MB / 1.198 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: 13.417974057607353]