Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterProperties.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.001269/0.001269, allocations: 80.45 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.0008357/0.0008357, allocations: 169.2 kB / 23.24 MB, free: 1.316 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.8825/0.8825, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.902/1.902, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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.WaterProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.551e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005625/0.00564, allocations: 4.509 MB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.007934, allocations: 2.461 MB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.008016, allocations: 0 / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.008279, allocations: 43.69 kB / 1.008 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.008523, allocations: 103.2 kB / 1.008 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009859/0.009509, allocations: 0.5358 MB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.009765, allocations: 239.8 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.009806, allocations: 5.812 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.01003, allocations: 159.5 kB / 1.009 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.0104, allocations: 71.78 kB / 1.009 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.01043, allocations: 12 kB / 1.009 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.01095, allocations: 327.1 kB / 1.009 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.01102, allocations: 39.88 kB / 1.009 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.01109, allocations: 55.91 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.01164, allocations: 386.8 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01164, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01164, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.01164, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006956/0.01234, allocations: 445.4 kB / 1.01 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.01238, allocations: 13.34 kB / 1.01 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.01244, allocations: 50.73 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.01258, allocations: 32.83 kB / 1.01 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.0128, allocations: 149.6 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.01281, allocations: 12.7 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.01284, allocations: 16.36 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.01327, allocations: 488 kB / 1.011 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01329, allocations: 192 / 1.011 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.01331, allocations: 11.94 kB / 1.011 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.01333, allocations: 8 kB / 1.011 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.01379, allocations: 423.5 kB / 1.011 GB, free: 2.824 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009644/0.01475, allocations: 0.8085 MB / 1.012 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.01507, allocations: 162 kB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/0.01517, allocations: 52.88 kB / 1.012 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.01578, allocations: 451.9 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.01582, allocations: 38.56 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.01582, allocations: 4 kB / 1.012 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0003466/0.01617, allocations: 145.4 kB / 1.013 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.0162, allocations: 55.41 kB / 1.013 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.01636, allocations: 175.1 kB / 1.013 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.01639, allocations: 33.7 kB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.01647, allocations: 144.1 kB / 1.013 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.01651, allocations: 59.52 kB / 1.013 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.01658, allocations: 49.66 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.01669, allocations: 326.8 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.01676, allocations: 35.98 kB / 1.013 GB, free: 172 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.0169, allocations: 137.7 kB / 1.014 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.01713, allocations: 197.5 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01713, allocations: 3.938 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003131/0.01745, allocations: 215.8 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01746, allocations: 8 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.01747, allocations: 4 kB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01748, allocations: 4 kB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01764, allocations: 59.92 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.01766, allocations: 11.92 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01776, allocations: 35.67 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.01779, allocations: 16 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001001/0.01789, allocations: 133.7 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.01793, allocations: 16.05 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.01821, allocations: 158.9 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.01822, allocations: 0 / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01822, allocations: 0 / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01822, allocations: 3.938 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.01844, allocations: 184.6 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01844, allocations: 3.938 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.01853, allocations: 27.98 kB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01854, allocations: 0 / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01855, allocations: 4 kB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01855, allocations: 4 kB / 1.015 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01855, allocations: 7.984 kB / 1.015 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.01878, allocations: 222.5 kB / 1.015 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.01885, allocations: 39.86 kB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01887, allocations: 0 / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.01903, allocations: 15.98 kB / 1.015 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.01905, allocations: 7.984 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.01907, allocations: 15.94 kB / 1.015 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.958e-05/0.01915, allocations: 119.9 kB / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01915, allocations: 0 / 1.015 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000389/0.01954, allocations: 75.88 kB / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0009334/0.02048, allocations: 0.8449 MB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.02069, allocations: 112.6 kB / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02069, allocations: 8 kB / 1.016 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.02075, allocations: 35.98 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.02117, allocations: 63.78 kB / 1.016 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.02333, allocations: 2.015 MB / 1.018 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.058e-05/0.02341, allocations: 103.3 kB / 1.018 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.02355, allocations: 45.81 kB / 1.018 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.02362, allocations: 48.48 kB / 1.018 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of SimCode: time 7.91e-07/0.02362, allocations: 0 / 1.018 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0813/0.1049, allocations: 6.227 MB / 1.024 GB, free: 4.801 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.442, allocations: 10.98 kB / 1.024 GB, free: 4.793 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterProperties.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_WaterProperties.fmu) > Buildings_13_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.WaterProperties_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_WaterProperties.fmu) > Buildings_13_Buildings.Media.Examples.WaterProperties_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.126100974157453]