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.0008435/0.0008435, allocations: 80.52 kB / 19.96 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.0008765/0.0008765, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.9403/0.9403, allocations: 177.2 MB / 203.6 MB, free: 5.738 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.812/1.812, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.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 2.174e-06/2.174e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.274e-05, allocations: 6.219 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003902/0.003924, allocations: 3.225 MB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 7.194e-05/0.003996, allocations: 47.81 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.00402, allocations: 7.938 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.004121, allocations: 4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.517e-05/0.004196, allocations: 11.91 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.004667, allocations: 202 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.004748, allocations: 35.86 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.004789, allocations: 0 / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.004844, allocations: 27.91 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.004921, allocations: 11.98 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.004935, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.005168, allocations: 135.5 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.005223, allocations: 11.98 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.005246, allocations: 4 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.005463, allocations: 135.6 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.005466, allocations: 0 / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005467, allocations: 0 / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005472, allocations: 4 kB / 1.004 GB, free: 9.633 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003838/0.005856, allocations: 270.2 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.005901, allocations: 8.75 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.00594, allocations: 30.75 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.005981, allocations: 12.88 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.006062, allocations: 101.8 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.00612, allocations: 51.97 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.006129, allocations: 4.375 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.006241, allocations: 67.95 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006249, allocations: 7.938 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.006258, allocations: 0 / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.006276, allocations: 11.88 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.006315, allocations: 19.92 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.006781, allocations: 260 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.006827, allocations: 22.58 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.006844, allocations: 4.859 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.006907, allocations: 32.03 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.006931, allocations: 34.56 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.006932, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.007062, allocations: 45.62 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.007089, allocations: 51.41 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.007172, allocations: 113.7 kB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.007185, allocations: 25.7 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.007227, allocations: 84.09 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-06/0.007231, allocations: 0 / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.007258, allocations: 17.72 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007363, allocations: 314.8 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.007385, allocations: 3.984 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.007414, allocations: 17.72 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.00745, allocations: 29.72 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.007452, allocations: 0 / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.669e-05/0.007519, allocations: 49.62 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.007532, allocations: 8 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.007539, allocations: 4 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.00755, allocations: 0 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.007601, allocations: 7.984 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007606, allocations: 0 / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.007621, allocations: 12.02 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.00763, allocations: 288 / 1.006 GB, free: 7.723 MB / 0.9636 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.063e-05/0.007691, allocations: 117.8 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.007706, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.007851, allocations: 132.1 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/0.007897, allocations: 176.3 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.101e-05/0.007968, allocations: 184.3 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/0.008017, allocations: 180.2 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.008186, allocations: 376.2 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.008216, allocations: 108.9 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.008247, allocations: 109 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/0.008303, allocations: 176.3 kB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.008357, allocations: 184.2 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.975e-05/0.008407, allocations: 180.3 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-05/0.008453, allocations: 180.2 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.008561, allocations: 307.8 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.008595, allocations: 116.8 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.008651, allocations: 176.3 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.008766, allocations: 108.9 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.00882, allocations: 180.2 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.008849, allocations: 113 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.572e-05/0.008895, allocations: 79.28 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008895, allocations: 0 / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002135/0.009108, allocations: 43.8 kB / 1.009 GB, free: 4.371 MB / 0.9636 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.0004605/0.009569, allocations: 0.871 MB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.009639, allocations: 11.92 kB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.009642, allocations: 0 / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.009643, allocations: 0 / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.01002, allocations: 467.8 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.01095, allocations: 1.324 MB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.011, allocations: 59.48 kB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.01103, allocations: 11.98 kB / 1.012 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.01106, allocations: 8.5 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.01106, allocations: 0 / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08264/0.0937, allocations: 2.847 MB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.202, allocations: 1.625 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.830158597789705]