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.0007158/0.0007158, allocations: 109.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.001003/0.001003, allocations: 216 kB / 22.25 MB, free: 3.578 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.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.617 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.8294/0.8294, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001244/0.001244, allocations: 61.66 kB / 0.7181 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5196, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004184/0.5238, allocations: 3.913 MB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00015/0.524, allocations: 134.7 kB / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.524, allocations: 0 / 0.8217 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.5241, allocations: 9.156 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.5242, allocations: 17.38 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.5245, allocations: 86.88 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.573e-05/0.5246, allocations: 32.62 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.5246, allocations: 2.781 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.5247, allocations: 14.02 kB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.5248, allocations: 15.81 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5248, allocations: 5.344 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.525, allocations: 55.94 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.5251, allocations: 8.344 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.5251, allocations: 14.14 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.5252, allocations: 63.47 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5252, allocations: 1.688 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5252, allocations: 0 / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5252, allocations: 0 / 0.822 GB, free: 14.09 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.0003413/0.5256, allocations: 262.9 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5256, allocations: 10.94 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.5256, allocations: 35.5 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.5257, allocations: 2.75 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.5257, allocations: 104.8 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.5258, allocations: 54.27 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.5258, allocations: 5.719 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.526, allocations: 70.17 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.526, allocations: 3.938 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.526, allocations: 3.938 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.526, allocations: 1.859 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.526, allocations: 21.69 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.5264, allocations: 233 kB / 0.8228 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.5265, allocations: 16.33 kB / 0.8228 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.5265, allocations: 5.953 kB / 0.8228 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.5265, allocations: 8.609 kB / 0.8228 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5266, allocations: 36.69 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5266, allocations: 0 / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.5267, allocations: 37.27 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.5267, allocations: 54.06 kB / 0.823 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.5268, allocations: 104.2 kB / 0.8231 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5268, allocations: 32.16 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.5269, allocations: 85.44 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/0.5269, allocations: 12.81 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5269, allocations: 18.95 kB / 0.8232 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.527, allocations: 316.9 kB / 0.8235 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.527, allocations: 4.234 kB / 0.8235 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.527, allocations: 19.41 kB / 0.8235 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.5271, allocations: 20.59 kB / 0.8235 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5271, allocations: 1.531 kB / 0.8235 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.888e-05/0.5271, allocations: 53.23 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5271, allocations: 5.156 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/0.5271, allocations: 0.9688 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5272, allocations: 1.672 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.5272, allocations: 5.359 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5272, allocations: 6.281 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.5272, allocations: 1.125 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5272, allocations: 2.062 kB / 0.8236 GB, free: 12.43 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.895e-05/0.5273, allocations: 113.6 kB / 0.8237 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.5273, allocations: 5.219 kB / 0.8237 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.5274, allocations: 126.5 kB / 0.8239 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/0.5275, allocations: 178.5 kB / 0.824 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.414e-05/0.5275, allocations: 182.6 kB / 0.8242 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/0.5275, allocations: 178.7 kB / 0.8244 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.5277, allocations: 383 kB / 0.8247 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/0.5277, allocations: 106.4 kB / 0.8248 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.5277, allocations: 103.3 kB / 0.8249 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.374e-05/0.5278, allocations: 186.5 kB / 0.8251 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/0.5278, allocations: 177.3 kB / 0.8253 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.462e-05/0.5279, allocations: 182.7 kB / 0.8255 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.63e-05/0.5279, allocations: 182.6 kB / 0.8256 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.528, allocations: 319.9 kB / 0.8259 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.5281, allocations: 103 kB / 0.826 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.5281, allocations: 179.5 kB / 0.8262 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5282, allocations: 109.5 kB / 0.8263 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.5283, allocations: 182.4 kB / 0.8265 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.5283, allocations: 107 kB / 0.8266 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.5284, allocations: 86.05 kB / 0.8267 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5284, allocations: 1.375 kB / 0.8267 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001978/0.5286, allocations: 24.22 kB / 0.8267 GB, free: 9.16 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.0003684/0.5289, allocations: 0.8171 MB / 0.8275 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.529, allocations: 15.97 kB / 0.8275 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.529, allocations: 1.125 kB / 0.8275 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.529, allocations: 0 / 0.8275 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.5294, allocations: 459.4 kB / 0.8279 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.5302, allocations: 1.323 MB / 0.8292 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.5302, allocations: 62.84 kB / 0.8293 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.5303, allocations: 7.672 kB / 0.8293 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.5303, allocations: 10.56 kB / 0.8293 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5303, allocations: 0 / 0.8293 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.5471, allocations: 2.027 MB / 0.8313 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/7.046, allocations: 5.156 kB / 0.8313 GB, free: 5.613 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.185426678042859] Failed to read output from testmodel.py, exit status != 0: 7.124773715157062 7.136930197 6.608678018 Calling exit ...