Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.SteamProperties.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.0008105/0.0008105, allocations: 108.3 kB / 19.73 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.0008814/0.0008814, allocations: 212.6 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 1.048/1.048, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.098/2.098, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 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.Media.Examples.SteamProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009541/0.0009541, allocations: 63.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8461, allocations: 180 MB / 1.352 GB, free: 1.676 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1161/0.9622, allocations: 119.6 MB / 1.469 GB, free: 9.617 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.9824, allocations: 20.25 MB / 1.489 GB, free: 5.301 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.9827, allocations: 4 kB / 1.489 GB, free: 5.297 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.9831, allocations: 43.67 kB / 1.489 GB, free: 5.254 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.9835, allocations: 103.4 kB / 1.489 GB, free: 5.152 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01565/0.9991, allocations: 6.937 MB / 1.496 GB, free: 14.23 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.9995, allocations: 255.9 kB / 1.496 GB, free: 13.98 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.9996, allocations: 5.75 kB / 1.496 GB, free: 13.98 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.9999, allocations: 155.4 kB / 1.496 GB, free: 13.83 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/1, allocations: 83.66 kB / 1.496 GB, free: 13.75 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/1, allocations: 8 kB / 1.496 GB, free: 13.74 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/1.017, allocations: 11.11 MB / 1.507 GB, free: 2.617 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/1.017, allocations: 35.89 kB / 1.507 GB, free: 2.582 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/1.017, allocations: 75.7 kB / 1.507 GB, free: 2.508 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/1.03, allocations: 6.486 MB / 1.514 GB, free: 12.01 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.03, allocations: 0 / 1.514 GB, free: 12.01 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.786e-06/1.03, allocations: 4 kB / 1.514 GB, free: 12 MB / 1.198 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.03, allocations: 0 / 1.514 GB, free: 12 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003585/1.034, allocations: 1.164 MB / 1.515 GB, free: 10.8 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.034, allocations: 12.92 kB / 1.515 GB, free: 10.79 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/1.034, allocations: 46.73 kB / 1.515 GB, free: 10.74 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007147/1.034, allocations: 84.77 kB / 1.515 GB, free: 10.66 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/1.035, allocations: 170.3 kB / 1.515 GB, free: 10.46 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.035, allocations: 15.94 kB / 1.515 GB, free: 10.45 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.035, allocations: 20 kB / 1.515 GB, free: 10.43 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.036, allocations: 0.6663 MB / 1.516 GB, free: 9.695 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.036, allocations: 0 / 1.516 GB, free: 9.695 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/1.036, allocations: 4 kB / 1.516 GB, free: 9.691 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.036, allocations: 4 kB / 1.516 GB, free: 9.688 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/1.037, allocations: 0.6086 MB / 1.516 GB, free: 9.078 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/1.037, allocations: 0.7459 MB / 1.517 GB, free: 8.277 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/1.038, allocations: 230.3 kB / 1.517 GB, free: 8.043 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/1.038, allocations: 64.83 kB / 1.517 GB, free: 7.977 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0493/1.087, allocations: 23.36 MB / 1.54 GB, free: 0.5703 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.087, allocations: 34.56 kB / 1.54 GB, free: 0.5273 MB / 1.214 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/1.087, allocations: 8 kB / 1.54 GB, free: 0.5195 MB / 1.214 GB Notification: Performance of matching and sorting (n=25): time 0.00141/1.089, allocations: 420.4 kB / 1.541 GB, free: 108 kB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/1.089, allocations: 59.34 kB / 1.541 GB, free: 36 kB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.089, allocations: 153.6 kB / 1.541 GB, free: 15.88 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/1.089, allocations: 29.7 kB / 1.541 GB, free: 15.84 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/1.089, allocations: 104.5 kB / 1.541 GB, free: 15.73 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/1.089, allocations: 87.22 kB / 1.541 GB, free: 15.65 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.089, allocations: 81.61 kB / 1.541 GB, free: 15.56 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/1.089, allocations: 326.8 kB / 1.542 GB, free: 15.23 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.089, allocations: 83.95 kB / 1.542 GB, free: 15.15 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.09, allocations: 130 kB / 1.542 GB, free: 15.01 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/1.09, allocations: 230.7 kB / 1.542 GB, free: 14.77 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.09, allocations: 0 / 1.542 GB, free: 14.77 MB / 1.229 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006566/1.091, allocations: 292 kB / 1.542 GB, free: 14.48 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.091, allocations: 11.98 kB / 1.542 GB, free: 14.46 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.091, allocations: 12.09 kB / 1.542 GB, free: 14.45 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.091, allocations: 4 kB / 1.542 GB, free: 14.45 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/1.091, allocations: 79.88 kB / 1.542 GB, free: 14.37 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/1.091, allocations: 4 kB / 1.542 GB, free: 14.37 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/1.091, allocations: 27.72 kB / 1.542 GB, free: 14.34 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/1.091, allocations: 23.98 kB / 1.542 GB, free: 14.32 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001061/1.091, allocations: 126.3 kB / 1.542 GB, free: 14.18 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.091, allocations: 23.89 kB / 1.543 GB, free: 14.16 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.094, allocations: 2.479 MB / 1.545 GB, free: 11.67 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.094, allocations: 19.97 kB / 1.545 GB, free: 11.65 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.094, allocations: 0 / 1.545 GB, free: 11.65 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.094, allocations: 3.938 kB / 1.545 GB, free: 11.64 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/1.097, allocations: 3.579 MB / 1.548 GB, free: 7.965 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.097, allocations: 0 / 1.548 GB, free: 7.965 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.097, allocations: 55.89 kB / 1.549 GB, free: 7.91 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/1.097, allocations: 3.938 kB / 1.549 GB, free: 7.906 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/1.097, allocations: 8 kB / 1.549 GB, free: 7.898 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.097, allocations: 0 / 1.549 GB, free: 7.898 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.097, allocations: 3.984 kB / 1.549 GB, free: 7.895 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/1.097, allocations: 0.5584 MB / 1.549 GB, free: 7.32 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/1.098, allocations: 67.62 kB / 1.549 GB, free: 7.254 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/1.098, allocations: 11.88 kB / 1.549 GB, free: 7.242 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.098, allocations: 12 kB / 1.549 GB, free: 7.23 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/1.098, allocations: 23.95 kB / 1.549 GB, free: 7.207 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/1.098, allocations: 8 kB / 1.549 GB, free: 7.199 MB / 1.229 GB Notification: Performance of sorting global known variables: time 6.346e-05/1.098, allocations: 109.6 kB / 1.549 GB, free: 7.094 MB / 1.229 GB Notification: Performance of sort global known variables: time 9e-08/1.098, allocations: 0 / 1.549 GB, free: 7.094 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.004445/1.102, allocations: 1.711 MB / 1.551 GB, free: 5.379 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007622/1.11, allocations: 2.961 MB / 1.554 GB, free: 2.383 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.0005765/1.11, allocations: 313.5 kB / 1.554 GB, free: 2.078 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.11, allocations: 4.125 kB / 1.554 GB, free: 2.074 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/1.111, allocations: 201.4 kB / 1.554 GB, free: 1.879 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/1.111, allocations: 67.81 kB / 1.554 GB, free: 1.812 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/1.116, allocations: 3.103 MB / 1.557 GB, free: 14.59 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/1.116, allocations: 160.7 kB / 1.558 GB, free: 14.41 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.0004594/1.117, allocations: 405.2 kB / 1.558 GB, free: 14.02 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/1.117, allocations: 95.39 kB / 1.558 GB, free: 13.93 MB / 1.245 GB Notification: Performance of SimCode: time 6.81e-07/1.117, allocations: 3.938 kB / 1.558 GB, free: 13.92 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/1.293, allocations: 64.25 MB / 1.621 GB, free: 13.8 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.72, allocations: 14.98 kB / 1.621 GB, free: 13.79 MB / 1.307 GB " [Timeout remaining time 288] (rm -f Buildings_13_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_13_Buildings.Media.Examples.SteamProperties.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_SteamProperties.fmu) > Buildings_13_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_SteamProperties.fmu) > Buildings_13_Buildings.Media.Examples.SteamProperties_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.167717912234366]