Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001706/0.001706, allocations: 84.75 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002167/0.002167, allocations: 156.8 kB / 23.01 MB, free: 4.961 MB / 14.72 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.492/1.492, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8379/0.8379, allocations: 101.3 MB / 361.1 MB, free: 9.535 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [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.002086/0.002086, allocations: 66.08 kB / 0.5356 GB, free: 5.223 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2041, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007327/0.2114, allocations: 3.633 MB / 0.623 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.2116, allocations: 139.5 kB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2116, allocations: 0 / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2118, allocations: 3.938 kB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.2119, allocations: 23.91 kB / 0.6232 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.2123, allocations: 79.75 kB / 0.6233 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2124, allocations: 31.86 kB / 0.6233 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.2125, allocations: 11.97 kB / 0.6233 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.624e-05/0.2125, allocations: 12 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.2126, allocations: 15.92 kB / 0.6233 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2126, allocations: 7.984 kB / 0.6233 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007343/0.2134, allocations: 203.3 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.2134, allocations: 7.984 kB / 0.6235 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.2135, allocations: 15.92 kB / 0.6236 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.2136, allocations: 55.88 kB / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2136, allocations: 0 / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2136, allocations: 0 / 0.6236 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2137, allocations: 0 / 0.6236 GB, free: 13.31 MB / 0.5294 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.0005377/0.2142, allocations: 262.3 kB / 0.6239 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2142, allocations: 8.031 kB / 0.6239 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.2143, allocations: 4.938 kB / 0.6239 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2144, allocations: 110.5 kB / 0.624 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2145, allocations: 51.97 kB / 0.624 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2145, allocations: 4.375 kB / 0.624 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.2147, allocations: 83.23 kB / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2148, allocations: 0 / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2148, allocations: 0 / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.2148, allocations: 11.94 kB / 0.6241 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.2149, allocations: 11.98 kB / 0.6241 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.2153, allocations: 212.5 kB / 0.6243 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.2154, allocations: 22.58 kB / 0.6244 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.2154, allocations: 4.859 kB / 0.6244 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.2155, allocations: 4.062 kB / 0.6244 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2155, allocations: 38.5 kB / 0.6244 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 3.456e-06/0.2155, allocations: 3.984 kB / 0.6244 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.2157, allocations: 33.69 kB / 0.6244 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.2157, allocations: 51.41 kB / 0.6245 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2159, allocations: 105.8 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2159, allocations: 33.77 kB / 0.6246 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.2159, allocations: 92.09 kB / 0.6247 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.216, allocations: 3.953 kB / 0.6247 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.216, allocations: 13.72 kB / 0.6247 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2162, allocations: 318.8 kB / 0.625 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.2162, allocations: 8 kB / 0.625 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.2162, allocations: 17.66 kB / 0.6251 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.2163, allocations: 17.72 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2163, allocations: 4 kB / 0.6251 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.2164, allocations: 53.62 kB / 0.6251 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2164, allocations: 4 kB / 0.6251 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2164, allocations: 3.984 kB / 0.6251 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2164, allocations: 4 kB / 0.6251 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.2165, allocations: 7.984 kB / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2165, allocations: 0 / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.2165, allocations: 0 / 0.6251 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2165, allocations: 4 kB / 0.6252 GB, free: 11.54 MB / 0.5294 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 9.555e-05/0.2166, allocations: 114.8 kB / 0.6253 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.2166, allocations: 8.062 kB / 0.6253 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.2168, allocations: 128.8 kB / 0.6254 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.553e-05/0.2169, allocations: 176.3 kB / 0.6256 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.422e-05/0.217, allocations: 180.2 kB / 0.6257 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.229e-05/0.2171, allocations: 180.3 kB / 0.6259 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.2174, allocations: 364.8 kB / 0.6263 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.888e-05/0.2174, allocations: 104.9 kB / 0.6264 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.2175, allocations: 101 kB / 0.6264 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-05/0.2176, allocations: 180.2 kB / 0.6266 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/0.2176, allocations: 184.2 kB / 0.6268 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.001e-05/0.2177, allocations: 180.3 kB / 0.627 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001011/0.2178, allocations: 184.2 kB / 0.6271 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.2181, allocations: 311.7 kB / 0.6274 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.2181, allocations: 112.9 kB / 0.6275 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2182, allocations: 180.3 kB / 0.6277 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2184, allocations: 116.9 kB / 0.6278 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2185, allocations: 176.3 kB / 0.628 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.2186, allocations: 104.9 kB / 0.6281 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.2186, allocations: 91.22 kB / 0.6282 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2186, allocations: 0 / 0.6282 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002938/0.2189, allocations: 15.94 kB / 0.6282 GB, free: 8.227 MB / 0.5294 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.0002283/0.2192, allocations: 190.5 kB / 0.6284 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.2192, allocations: 8 kB / 0.6284 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2192, allocations: 0 / 0.6284 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.2192, allocations: 3.938 kB / 0.6284 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.2198, allocations: 465.2 kB / 0.6288 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.2202, allocations: 190.2 kB / 0.629 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.2202, allocations: 63.47 kB / 0.6291 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.2203, allocations: 4 kB / 0.6291 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.2203, allocations: 12.5 kB / 0.6291 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2203, allocations: 0 / 0.6291 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.003565/0.2239, allocations: 0.6614 MB / 0.6297 GB, free: 6.605 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.516783255967312] Failed to read output from testmodel.py, exit status != 0: 0.2325402939459309 0.248442179 0.031610367 Calling exit ...