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.0009278/0.0009278, 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.0009582/0.0009582, allocations: 169.9 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.9013/0.9013, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7301/0.7301, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.673e-06/1.673e-06, allocations: 0 / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.017e-05, allocations: 3.688 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003685/0.003705, allocations: 3.214 MB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 6.982e-05/0.003775, allocations: 51.73 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.003799, allocations: 0 / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.00391, allocations: 0 / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.003979, allocations: 15.86 kB / 0.6213 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.004412, allocations: 200.3 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.004485, allocations: 31.84 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.00452, allocations: 4 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.00457, allocations: 23.97 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.004637, allocations: 15.92 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.004649, allocations: 3.938 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.004866, allocations: 135.5 kB / 0.6217 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.004922, allocations: 7.984 kB / 0.6217 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.004944, allocations: 7.938 kB / 0.6217 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.005148, allocations: 123.7 kB / 0.6218 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005151, allocations: 3.984 kB / 0.6218 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.363e-06/0.005153, allocations: 7.938 kB / 0.6218 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.005158, allocations: 0 / 0.6218 GB, free: 9.914 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.0003803/0.005539, allocations: 270.2 kB / 0.6221 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.005587, allocations: 9.469 kB / 0.6221 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.005621, allocations: 34.75 kB / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.005655, allocations: 4.938 kB / 0.6221 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.005742, allocations: 109.8 kB / 0.6222 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.005823, allocations: 59.95 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.005831, allocations: 384 / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.006065, allocations: 71.88 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006075, allocations: 3.938 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.006086, allocations: 8 kB / 0.6223 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.006104, allocations: 4 kB / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.006142, allocations: 11.98 kB / 0.6224 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.006556, allocations: 264 kB / 0.6226 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.006591, allocations: 18.58 kB / 0.6226 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.006603, allocations: 4.859 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.006659, allocations: 43.91 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.006677, allocations: 30.56 kB / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.006678, allocations: 4 kB / 0.6227 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.006805, allocations: 29.7 kB / 0.6227 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.006832, allocations: 63.45 kB / 0.6228 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.006892, allocations: 105.8 kB / 0.6229 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006903, allocations: 25.7 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.006942, allocations: 88.03 kB / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.00695, allocations: 15.94 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.006971, allocations: 9.719 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.007043, allocations: 314.8 kB / 0.6233 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.007055, allocations: 4 kB / 0.6233 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.007075, allocations: 25.64 kB / 0.6234 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.007104, allocations: 25.66 kB / 0.6234 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007105, allocations: 0 / 0.6234 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.2e-05/0.007157, allocations: 49.62 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007169, allocations: 4 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007173, allocations: 0 / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.007184, allocations: 0 / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.007223, allocations: 8 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.007228, allocations: 0 / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.007241, allocations: 4 kB / 0.6234 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.007248, allocations: 0 / 0.6234 GB, free: 8.004 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 5.539e-05/0.007303, allocations: 122.8 kB / 0.6236 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.007316, allocations: 3.953 kB / 0.6236 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/0.007404, allocations: 124.3 kB / 0.6237 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/0.007444, allocations: 180.3 kB / 0.6239 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-05/0.007486, allocations: 184.2 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/0.007522, allocations: 176.3 kB / 0.6242 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.007658, allocations: 380.2 kB / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/0.007688, allocations: 108.9 kB / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.007711, allocations: 101 kB / 0.6248 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.794e-05/0.007749, allocations: 184.2 kB / 0.6249 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.007793, allocations: 180.3 kB / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.824e-05/0.007841, allocations: 180.3 kB / 0.6253 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-05/0.007884, allocations: 188.2 kB / 0.6255 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.334e-05/0.007978, allocations: 311.7 kB / 0.6258 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.008004, allocations: 101 kB / 0.6259 GB, free: 5.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.008055, allocations: 184.2 kB / 0.626 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.00815, allocations: 108.9 kB / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.008192, allocations: 180.3 kB / 0.6263 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.008216, allocations: 104.9 kB / 0.6264 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.008248, allocations: 87.27 kB / 0.6265 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008248, allocations: 3.938 kB / 0.6265 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001824/0.008431, allocations: 39.81 kB / 0.6265 GB, free: 4.648 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.0003726/0.008803, allocations: 0.8632 MB / 0.6274 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.579e-05/0.008859, allocations: 15.88 kB / 0.6274 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008861, allocations: 0 / 0.6274 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.008861, allocations: 0 / 0.6274 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.009146, allocations: 463.7 kB / 0.6278 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.009848, allocations: 1.332 MB / 0.6291 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.009888, allocations: 63.28 kB / 0.6292 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.009917, allocations: 8.125 kB / 0.6292 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.009937, allocations: 12.5 kB / 0.6292 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.009937, allocations: 0 / 0.6292 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02534, allocations: 2.844 MB / 0.632 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.119, allocations: 6.812 kB / 0.632 GB, free: 15.14 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 & 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.032445278018713] Failed to read output from testmodel.py, exit status != 0: 7.202177508734167 7.215947267 7.208204872 Calling exit ...