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.0008893/0.0008893, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001316/0.001316, allocations: 209.2 kB / 22.25 MB, free: 3.586 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 0.9869/0.9869, allocations: 230.6 MB / 256 MB, free: 9.648 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.7963/0.7963, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001109/0.001109, allocations: 71.3 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6131, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004265/0.6174, allocations: 3.237 MB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.68e-05/0.6175, allocations: 55.58 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.6175, allocations: 4 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.6176, allocations: 9.156 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.6177, allocations: 9.906 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.6182, allocations: 188.4 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.6183, allocations: 36.25 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.6184, allocations: 9.062 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.6184, allocations: 8.625 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.6185, allocations: 17.3 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.6185, allocations: 1.438 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.6188, allocations: 135.1 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.6189, allocations: 13.69 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.6189, allocations: 10.45 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.6191, allocations: 121.1 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.331e-06/0.6191, allocations: 0 / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6191, allocations: 0 / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6191, allocations: 4.5 kB / 0.8216 GB, free: 14.55 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.0003838/0.6195, allocations: 269.1 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6196, allocations: 11.03 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.6196, allocations: 38.69 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.6196, allocations: 5.078 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.838e-05/0.6197, allocations: 103.2 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.6198, allocations: 54.89 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.6198, allocations: 5.906 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6199, allocations: 70.91 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.6199, allocations: 0.7031 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.6199, allocations: 4 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.62, allocations: 0 / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.62, allocations: 13.27 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.6205, allocations: 271.4 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.6205, allocations: 16.92 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.6205, allocations: 9.422 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.6206, allocations: 33.48 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6206, allocations: 32.3 kB / 0.8224 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/0.6206, allocations: 0 / 0.8224 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.6208, allocations: 44.7 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.6208, allocations: 53.52 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.6209, allocations: 99.03 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6209, allocations: 25.7 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.6209, allocations: 94.7 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.6209, allocations: 6.062 kB / 0.8228 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.6209, allocations: 13.33 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.621, allocations: 322 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.621, allocations: 3.641 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.268e-05/0.6211, allocations: 19.31 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.6211, allocations: 29.69 kB / 0.8231 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6211, allocations: 0 / 0.8231 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.001e-05/0.6212, allocations: 46.61 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6212, allocations: 4.781 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6212, allocations: 1.547 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.6212, allocations: 0.8125 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.6212, allocations: 10.59 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.6212, allocations: 3.938 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.6213, allocations: 9.656 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6213, allocations: 1.531 kB / 0.8232 GB, free: 12.87 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 6.105e-05/0.6213, allocations: 115.4 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.6213, allocations: 1.094 kB / 0.8233 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.6215, allocations: 123.6 kB / 0.8234 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.6215, allocations: 181.5 kB / 0.8236 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/0.6216, allocations: 181.5 kB / 0.8238 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.242e-05/0.6216, allocations: 181.8 kB / 0.824 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.6217, allocations: 379.3 kB / 0.8243 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.6218, allocations: 113.2 kB / 0.8244 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.6218, allocations: 106 kB / 0.8245 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.542e-05/0.6218, allocations: 181.4 kB / 0.8247 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/0.6219, allocations: 190.4 kB / 0.8249 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.951e-05/0.6219, allocations: 177.3 kB / 0.825 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.141e-05/0.622, allocations: 178.7 kB / 0.8252 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.6221, allocations: 314.6 kB / 0.8255 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.6221, allocations: 108.5 kB / 0.8256 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.6222, allocations: 179.8 kB / 0.8258 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6223, allocations: 105.2 kB / 0.8259 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.6223, allocations: 182.2 kB / 0.8261 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.6224, allocations: 106.7 kB / 0.8262 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.6224, allocations: 86.67 kB / 0.8263 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6224, allocations: 0 / 0.8263 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002219/0.6226, allocations: 41.55 kB / 0.8263 GB, free: 9.598 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.0004439/0.6231, allocations: 0.8629 MB / 0.8271 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.6232, allocations: 7.453 kB / 0.8271 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6232, allocations: 0 / 0.8271 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.6232, allocations: 5.719 kB / 0.8271 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.6235, allocations: 464.1 kB / 0.8276 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008575/0.6244, allocations: 1.338 MB / 0.8289 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.6244, allocations: 66.12 kB / 0.829 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.6245, allocations: 5.594 kB / 0.829 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.6245, allocations: 8.969 kB / 0.829 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.6245, allocations: 0 / 0.829 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.6433, allocations: 2.677 MB / 0.8316 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.614, allocations: 9.844 kB / 0.8316 GB, free: 5.914 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.780382356140763] Failed to read output from testmodel.py, exit status != 0: 7.69457217073068 7.7067489 7.085320923 Calling exit ...