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.001179/0.001179, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001272/0.001272, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9706/0.9706, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7241/0.7241, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.849e-05, allocations: 2.281 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004518/0.004536, allocations: 3.22 MB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 8.832e-05/0.004624, allocations: 55.75 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.004654, allocations: 0 / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.004784, allocations: 11.92 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.004866, allocations: 3.938 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.005426, allocations: 205.8 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.005516, allocations: 35.84 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.005557, allocations: 4 kB / 0.6215 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.005614, allocations: 15.92 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.005708, allocations: 19.97 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.005723, allocations: 0 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.00599, allocations: 135.5 kB / 0.6217 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.00604, allocations: 7.984 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.006063, allocations: 8 kB / 0.6217 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.006307, allocations: 127.7 kB / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00631, allocations: 0 / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.202e-06/0.006311, allocations: 0 / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.006316, allocations: 0 / 0.6218 GB, free: 9.844 MB / 0.5886 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.0004/0.006716, allocations: 274.2 kB / 0.6221 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.006766, allocations: 9.469 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.006807, allocations: 30.75 kB / 0.6221 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.006844, allocations: 8.891 kB / 0.6221 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.006952, allocations: 113.7 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.007035, allocations: 55.97 kB / 0.6223 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.007045, allocations: 8.359 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.007188, allocations: 71.94 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.007199, allocations: 3.938 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.007209, allocations: 0 / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.007227, allocations: 4 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.007276, allocations: 15.98 kB / 0.6224 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.007784, allocations: 263.9 kB / 0.6226 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.007825, allocations: 22.52 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.007838, allocations: 8.797 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.9e-05/0.007907, allocations: 36.03 kB / 0.6227 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.007931, allocations: 34.56 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.007932, allocations: 0 / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.00809, allocations: 41.64 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.008123, allocations: 51.41 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.008202, allocations: 105.8 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.008217, allocations: 25.7 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.008261, allocations: 84.09 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/0.008267, allocations: 3.953 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.008304, allocations: 21.7 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.008397, allocations: 315 kB / 0.6233 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.008411, allocations: 4 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.008434, allocations: 13.72 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.008471, allocations: 29.64 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008474, allocations: 0 / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.073e-05/0.008554, allocations: 49.62 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008569, allocations: 8 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008574, allocations: 0 / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.008587, allocations: 0 / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.008632, allocations: 12 kB / 0.6234 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008638, allocations: 4 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.008656, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.008665, allocations: 3.938 kB / 0.6234 GB, free: 7.926 MB / 0.5886 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.906e-05/0.008734, allocations: 118.7 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.008759, allocations: 3.953 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.008867, allocations: 121 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/0.00892, allocations: 180.2 kB / 0.6239 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.522e-05/0.008976, allocations: 180.3 kB / 0.624 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.313e-05/0.009029, allocations: 184.2 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.009226, allocations: 384.2 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.009262, allocations: 101 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.009296, allocations: 112.9 kB / 0.6248 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-05/0.009352, allocations: 180.3 kB / 0.6249 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.009408, allocations: 176.3 kB / 0.6251 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-05/0.009486, allocations: 184.2 kB / 0.6253 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-05/0.009527, allocations: 176.3 kB / 0.6255 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.722e-05/0.009624, allocations: 320 kB / 0.6258 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.009652, allocations: 101 kB / 0.6259 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.0097, allocations: 180.2 kB / 0.626 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.009797, allocations: 117 kB / 0.6261 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.009842, allocations: 184.2 kB / 0.6263 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.009868, allocations: 104.9 kB / 0.6264 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.009903, allocations: 87.27 kB / 0.6265 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009903, allocations: 0 / 0.6265 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001784/0.01008, allocations: 35.88 kB / 0.6265 GB, free: 4.57 MB / 0.5886 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.0003919/0.01047, allocations: 0.8737 MB / 0.6274 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.01054, allocations: 8 kB / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01054, allocations: 0 / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.01054, allocations: 0 / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.01087, allocations: 465.8 kB / 0.6278 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.01181, allocations: 1.339 MB / 0.6291 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.01185, allocations: 63.33 kB / 0.6292 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.01189, allocations: 4 kB / 0.6292 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.01192, allocations: 12.5 kB / 0.6292 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.01192, allocations: 0 / 0.6292 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.02848, allocations: 2.846 MB / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.163, allocations: 6.922 kB / 0.632 GB, free: 15.05 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.003083392977715] Failed to read output from testmodel.py, exit status != 0: 7.245547132566571 7.259903444 7.25095474 Calling exit ...