Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007938/0.0007938, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 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.0008087/0.0008087, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8301/0.8301, allocations: 203.8 MB / 0.5042 GB, free: 10.63 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 75.12 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5835, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003822/0.5873, allocations: 3.401 MB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.5874, allocations: 58.67 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.5875, allocations: 0 / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.5876, allocations: 8.094 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.5877, allocations: 11.41 kB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.5883, allocations: 198.6 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.5884, allocations: 32.28 kB / 0.8215 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.5885, allocations: 0.5625 kB / 0.8215 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.5885, allocations: 22.17 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.5886, allocations: 13.44 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.5886, allocations: 5.094 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.589, allocations: 186.9 kB / 0.8217 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.5891, allocations: 10.19 kB / 0.8217 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.5891, allocations: 13.72 kB / 0.8217 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.5894, allocations: 136 kB / 0.8219 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5894, allocations: 3.938 kB / 0.8219 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5894, allocations: 0 / 0.8219 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.5894, allocations: 2.594 kB / 0.8219 GB, free: 14.58 MB / 0.6198 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.0003517/0.5897, allocations: 274.3 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5898, allocations: 10.22 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.5898, allocations: 32.38 kB / 0.8222 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.5898, allocations: 3.5 kB / 0.8222 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.632e-05/0.5899, allocations: 105.3 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.59, allocations: 56.56 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.59, allocations: 6.125 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.5901, allocations: 44.11 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5901, allocations: 0 / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5901, allocations: 4 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5901, allocations: 1.469 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.5902, allocations: 20.48 kB / 0.8224 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.5906, allocations: 265.1 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/0.5907, allocations: 21.23 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.5907, allocations: 7.859 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.5908, allocations: 39.8 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5908, allocations: 35.31 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5908, allocations: 0 / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.5909, allocations: 37.62 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.591, allocations: 51.41 kB / 0.8228 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.5911, allocations: 101.9 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.5911, allocations: 26.45 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.5911, allocations: 90.77 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.5911, allocations: 0.75 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.5911, allocations: 23.23 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.5912, allocations: 318.5 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.5912, allocations: 4.75 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.5913, allocations: 19.53 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.5913, allocations: 25.58 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5913, allocations: 0 / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.555e-05/0.5914, allocations: 46.48 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5914, allocations: 4.656 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5914, allocations: 5.219 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5914, allocations: 2.328 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.5915, allocations: 4.141 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5915, allocations: 3.156 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.5915, allocations: 0 / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.5915, allocations: 7.391 kB / 0.8235 GB, free: 12.93 MB / 0.6198 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 7.013e-05/0.5916, allocations: 120 kB / 0.8236 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.5916, allocations: 5.531 kB / 0.8236 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.5917, allocations: 119.9 kB / 0.8237 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/0.5918, allocations: 184.4 kB / 0.8239 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.494e-05/0.5918, allocations: 180.9 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/0.5919, allocations: 185 kB / 0.8242 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.592, allocations: 375.6 kB / 0.8246 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/0.5921, allocations: 111.7 kB / 0.8247 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.5921, allocations: 105.5 kB / 0.8248 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.186e-05/0.5921, allocations: 179.1 kB / 0.825 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.5922, allocations: 188.8 kB / 0.8252 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-05/0.5922, allocations: 180.6 kB / 0.8253 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.225e-05/0.5923, allocations: 185.4 kB / 0.8255 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.5924, allocations: 311 kB / 0.8258 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.5924, allocations: 113.6 kB / 0.8259 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.5925, allocations: 177.5 kB / 0.8261 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5926, allocations: 110 kB / 0.8262 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5926, allocations: 181.8 kB / 0.8264 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.5926, allocations: 102.4 kB / 0.8265 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.5927, allocations: 89.06 kB / 0.8265 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5927, allocations: 4 kB / 0.8265 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005003/0.5932, allocations: 40.25 kB / 0.8266 GB, free: 9.641 MB / 0.6198 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.0004209/0.5936, allocations: 0.8582 MB / 0.8274 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.439e-05/0.5937, allocations: 12.61 kB / 0.8274 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5937, allocations: 2.125 kB / 0.8274 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.5937, allocations: 3.938 kB / 0.8274 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.594, allocations: 459.5 kB / 0.8279 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.5948, allocations: 1.326 MB / 0.8292 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.595, allocations: 0.6794 MB / 0.8298 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.5951, allocations: 14.41 kB / 0.8298 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.5951, allocations: 8.188 kB / 0.8299 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5951, allocations: 0 / 0.8299 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.6124, allocations: 2.231 MB / 0.832 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.702, allocations: 10.66 kB / 0.832 GB, free: 5.773 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.895266323816031] Failed to read output from testmodel.py, exit status != 0: 7.77776611992158 7.790093817 7.198306593 Calling exit ...