Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0009638/0.0009638, 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.00105/0.00105, allocations: 215.3 kB / 23.03 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.086/1.086, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.242/2.242, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 71.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9789, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005449/0.9843, allocations: 3.236 MB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.9845, allocations: 51.88 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.9845, allocations: 0 / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.9847, allocations: 3.938 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.9848, allocations: 15.97 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.9854, allocations: 193.5 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.9855, allocations: 39.78 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.9856, allocations: 3.984 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.9856, allocations: 15.98 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.9857, allocations: 7.984 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.9857, allocations: 4 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.986, allocations: 135.6 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.9861, allocations: 7.875 kB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.9861, allocations: 11.98 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.9864, allocations: 118 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9864, allocations: 7.984 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9864, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.9864, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004098/0.9868, allocations: 270.2 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.9868, allocations: 8.031 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.9869, allocations: 30.75 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.9869, allocations: 4.938 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.405e-05/0.987, allocations: 118.4 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.806e-05/0.9871, allocations: 55.95 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.9871, allocations: 8.125 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.9872, allocations: 67.39 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9872, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.9873, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.9873, allocations: 4 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.9873, allocations: 15.98 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.9878, allocations: 263.9 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.9879, allocations: 22.52 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.9879, allocations: 4.859 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-05/0.988, allocations: 43.91 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.988, allocations: 34.56 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.988, allocations: 0 / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.9882, allocations: 37.64 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.9882, allocations: 55.39 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.9883, allocations: 101.9 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.9883, allocations: 25.7 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.9883, allocations: 84.09 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.9883, allocations: 11.94 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.9884, allocations: 13.72 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.9884, allocations: 318.8 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.9885, allocations: 8.125 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.9885, allocations: 17.7 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.9885, allocations: 21.72 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.9885, allocations: 0 / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.99e-05/0.9886, allocations: 45.62 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.9886, allocations: 8 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9886, allocations: 0 / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9886, allocations: 0 / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.9887, allocations: 12.06 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9887, allocations: 8 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.9887, allocations: 0 / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.9887, allocations: 3.938 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.698e-05/0.9888, allocations: 118.3 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.9888, allocations: 3.953 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.9889, allocations: 120.9 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.989, allocations: 184.2 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-05/0.989, allocations: 180.3 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.946e-05/0.9891, allocations: 176.3 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.9893, allocations: 388.2 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/0.9893, allocations: 105.3 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.9893, allocations: 108.9 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.954e-05/0.9894, allocations: 176.4 kB / 1.359 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.9894, allocations: 180.3 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002678/0.9897, allocations: 188.2 kB / 1.36 GB, free: 9.883 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.774e-05/0.9897, allocations: 184.2 kB / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.9899, allocations: 311.7 kB / 1.36 GB, free: 9.367 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.9899, allocations: 105 kB / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.99, allocations: 184.2 kB / 1.36 GB, free: 9.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.9901, allocations: 109 kB / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.9902, allocations: 184.2 kB / 1.361 GB, free: 8.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.9902, allocations: 101 kB / 1.361 GB, free: 8.664 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.9903, allocations: 91.2 kB / 1.361 GB, free: 8.574 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.9903, allocations: 0 / 1.361 GB, free: 8.574 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002695/0.9906, allocations: 35.81 kB / 1.361 GB, free: 8.539 MB / 1.042 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005859/0.9912, allocations: 0.8671 MB / 1.362 GB, free: 7.641 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 7.878e-05/0.9912, allocations: 8 kB / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9912, allocations: 0 / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.9912, allocations: 0 / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.9916, allocations: 474.3 kB / 1.362 GB, free: 7.168 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.9924, allocations: 1.337 MB / 1.364 GB, free: 5.742 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.9925, allocations: 59.34 kB / 1.364 GB, free: 5.664 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.9925, allocations: 6.531 kB / 1.364 GB, free: 5.66 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.9925, allocations: 7.438 kB / 1.364 GB, free: 5.652 MB / 1.042 GB Notification: Performance of SimCode: time 1.052e-06/0.9925, allocations: 0 / 1.364 GB, free: 5.652 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09399/1.087, allocations: 2.683 MB / 1.366 GB, free: 3.156 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.277/8.363, allocations: 6.312 kB / 1.366 GB, free: 3.156 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.91624451149255]