Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007863/0.0007863, 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.0009054/0.0009054, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.988/0.988, allocations: 230.6 MB / 256 MB, free: 9.793 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.8039/0.8039, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.0009292/0.0009292, allocations: 67.08 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5205, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003661/0.5241, allocations: 4.131 MB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.5242, allocations: 168.3 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.5243, allocations: 4 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.5244, allocations: 1.312 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.5244, allocations: 12.62 kB / 0.8221 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.5247, allocations: 78.53 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.5248, allocations: 38.03 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.5248, allocations: 2 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.5248, allocations: 23.42 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.5249, allocations: 13.69 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.5249, allocations: 3.156 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.5251, allocations: 84.05 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.5251, allocations: 6.281 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.5251, allocations: 15.61 kB / 0.8223 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.5253, allocations: 61.47 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5253, allocations: 3.656 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5253, allocations: 0 / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5253, allocations: 0 / 0.8224 GB, free: 14.03 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.0002949/0.5256, allocations: 268.4 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5256, allocations: 9.969 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.5256, allocations: 31.31 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.5257, allocations: 2.953 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/0.5257, allocations: 106.9 kB / 0.8228 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.5258, allocations: 60.52 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.5258, allocations: 6.375 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5259, allocations: 41.69 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.5259, allocations: 5.844 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.5259, allocations: 0 / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5259, allocations: 1.219 kB / 0.8229 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.526, allocations: 17.77 kB / 0.8229 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.5263, allocations: 232.5 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.5263, allocations: 19.17 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.5263, allocations: 4.859 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.5264, allocations: 12.84 kB / 0.8232 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.5264, allocations: 35.27 kB / 0.8232 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5264, allocations: 0 / 0.8232 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.5265, allocations: 33.09 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.5265, allocations: 56.09 kB / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.5266, allocations: 102.3 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.5266, allocations: 26.5 kB / 0.8234 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.5266, allocations: 93.94 kB / 0.8235 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.5266, allocations: 3.938 kB / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5267, allocations: 20.73 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.5267, allocations: 322.7 kB / 0.8238 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.5267, allocations: 0.6094 kB / 0.8238 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.5268, allocations: 20.33 kB / 0.8238 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.5268, allocations: 20.55 kB / 0.8239 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5268, allocations: 0 / 0.8239 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.386e-05/0.5268, allocations: 51.67 kB / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.5268, allocations: 4.672 kB / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5268, allocations: 0 / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5269, allocations: 2.641 kB / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/0.5269, allocations: 6.969 kB / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5269, allocations: 0 / 0.8239 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/0.5269, allocations: 8.641 kB / 0.8239 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5269, allocations: 5.719 kB / 0.8239 GB, free: 12.39 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 5.157e-05/0.527, allocations: 125 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.527, allocations: 1.812 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.5271, allocations: 122.8 kB / 0.8242 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/0.5271, allocations: 180.8 kB / 0.8243 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000283/0.5274, allocations: 188.1 kB / 0.8245 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.5274, allocations: 177 kB / 0.8247 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.5276, allocations: 379.2 kB / 0.8251 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.5276, allocations: 106 kB / 0.8252 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.5276, allocations: 106.6 kB / 0.8253 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/0.5276, allocations: 178 kB / 0.8254 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.5277, allocations: 183.3 kB / 0.8256 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-05/0.5277, allocations: 181.3 kB / 0.8258 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.627e-05/0.5278, allocations: 177.3 kB / 0.8259 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.5279, allocations: 318.3 kB / 0.8262 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.5279, allocations: 109 kB / 0.8263 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.5279, allocations: 181 kB / 0.8265 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.528, allocations: 110.4 kB / 0.8266 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.5281, allocations: 181.4 kB / 0.8268 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.5281, allocations: 103.1 kB / 0.8269 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.5281, allocations: 81.27 kB / 0.827 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5281, allocations: 4 kB / 0.827 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001621/0.5283, allocations: 27 kB / 0.827 GB, free: 9.113 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.0002863/0.5286, allocations: 0.8186 MB / 0.8278 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.5286, allocations: 12.8 kB / 0.8278 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5286, allocations: 4.125 kB / 0.8278 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.5286, allocations: 0 / 0.8278 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.5289, allocations: 458 kB / 0.8283 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.5296, allocations: 1.333 MB / 0.8296 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.5298, allocations: 0.6752 MB / 0.8302 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.5298, allocations: 10.81 kB / 0.8302 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.5298, allocations: 10.39 kB / 0.8302 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of SimCode: time 5e-07/0.5298, allocations: 0 / 0.8302 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.5463, allocations: 1.578 MB / 0.8318 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/7.251, allocations: 18.14 kB / 0.8318 GB, free: 5.355 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_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_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.371732517145574] Failed to read output from testmodel.py, exit status != 0: 7.329354305984452 7.3460231160000005 6.817829587 Calling exit ...