Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.001451/0.001451, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.00168/0.00168, allocations: 168.8 kB / 22.46 MB, free: 5.363 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.235/1.235, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.6185 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.238e-05, allocations: 10.16 kB / 0.6185 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6281/0.6282, allocations: 119 MB / 0.7347 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.6283, allocations: 52.59 kB / 0.7348 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.6284, allocations: 1.125 kB / 0.7348 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.6285, allocations: 9.438 kB / 0.7348 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.827e-05/0.6286, allocations: 13.3 kB / 0.7348 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6296, allocations: 245.2 kB / 0.735 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.6297, allocations: 35.28 kB / 0.7351 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.6298, allocations: 6.297 kB / 0.7351 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.6298, allocations: 21.23 kB / 0.7351 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.6299, allocations: 11.34 kB / 0.7351 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.6299, allocations: 1.094 kB / 0.7351 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.6304, allocations: 185.6 kB / 0.7353 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.6305, allocations: 4.453 kB / 0.7353 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.6305, allocations: 8.219 kB / 0.7353 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.631, allocations: 181.6 kB / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.631, allocations: 0.5312 kB / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.631, allocations: 0 / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.631, allocations: 4.562 kB / 0.7355 GB, free: 7.309 MB / 0.6075 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.0004341/0.6315, allocations: 286.2 kB / 0.7357 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6315, allocations: 10.06 kB / 0.7358 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.6315, allocations: 2.562 kB / 0.7358 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.6316, allocations: 107.2 kB / 0.7359 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/0.6317, allocations: 53.06 kB / 0.7359 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.6317, allocations: 1.969 kB / 0.7359 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.6319, allocations: 73.31 kB / 0.736 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.6319, allocations: 5 kB / 0.736 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6319, allocations: 5.75 kB / 0.736 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.6319, allocations: 3.562 kB / 0.736 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.632, allocations: 15 kB / 0.736 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.6327, allocations: 253 kB / 0.7363 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.6327, allocations: 20.67 kB / 0.7363 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.6328, allocations: 10.02 kB / 0.7363 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.6328, allocations: 34.06 kB / 0.7363 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6329, allocations: 33.47 kB / 0.7363 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.6329, allocations: 0.5 kB / 0.7363 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.633, allocations: 41.89 kB / 0.7364 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.6331, allocations: 52.78 kB / 0.7364 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.6331, allocations: 108.5 kB / 0.7365 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.6331, allocations: 28.38 kB / 0.7366 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.6332, allocations: 89.19 kB / 0.7367 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-06/0.6332, allocations: 1.125 kB / 0.7367 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.6332, allocations: 20.67 kB / 0.7367 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.6333, allocations: 314.4 kB / 0.737 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.6333, allocations: 2.562 kB / 0.737 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.6333, allocations: 23.17 kB / 0.737 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.6333, allocations: 23.59 kB / 0.737 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6333, allocations: 1.156 kB / 0.737 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.02e-05/0.6334, allocations: 54.77 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6334, allocations: 4.781 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6334, allocations: 2.453 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6334, allocations: 0 / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.6335, allocations: 8.188 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6335, allocations: 0 / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.6335, allocations: 8.156 kB / 0.7371 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.6335, allocations: 2.938 kB / 0.7371 GB, free: 5.754 MB / 0.6075 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.207e-05/0.6336, allocations: 108.3 kB / 0.7372 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.6336, allocations: 5.469 kB / 0.7372 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.6337, allocations: 129.2 kB / 0.7373 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.6337, allocations: 179.6 kB / 0.7375 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/0.6338, allocations: 181.7 kB / 0.7377 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/0.6338, allocations: 182.1 kB / 0.7378 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6339, allocations: 352.4 kB / 0.7382 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.6339, allocations: 111.1 kB / 0.7383 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.634, allocations: 113.6 kB / 0.7384 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-05/0.634, allocations: 181.5 kB / 0.7386 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.634, allocations: 180.2 kB / 0.7387 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.37e-05/0.6341, allocations: 177.5 kB / 0.7389 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.608e-05/0.6341, allocations: 182.4 kB / 0.7391 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.94e-05/0.6342, allocations: 310.2 kB / 0.7394 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.6342, allocations: 109 kB / 0.7395 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6343, allocations: 178.6 kB / 0.7397 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.6344, allocations: 114.9 kB / 0.7398 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.6345, allocations: 181.4 kB / 0.7399 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.6345, allocations: 108.5 kB / 0.74 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.6345, allocations: 84.81 kB / 0.7401 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6345, allocations: 0 / 0.7401 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000369/0.6349, allocations: 58.97 kB / 0.7402 GB, free: 2.543 MB / 0.6075 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.0003911/0.6353, allocations: 260.6 kB / 0.7404 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.6354, allocations: 6.125 kB / 0.7404 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6354, allocations: 1.156 kB / 0.7404 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.6354, allocations: 0 / 0.7404 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.6358, allocations: 466.4 kB / 0.7409 GB, free: 17.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.6362, allocations: 175.3 kB / 0.741 GB, free: 17.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.6362, allocations: 57.05 kB / 0.7411 GB, free: 17.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.6363, allocations: 11.84 kB / 0.7411 GB, free: 17.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.6363, allocations: 9.844 kB / 0.7411 GB, free: 17.65 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.6363, allocations: 1.094 kB / 0.7411 GB, free: 17.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.004861/0.6411, allocations: 1.343 MB / 0.7424 GB, free: 17.46 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.556667000055313] Failed to read output from testmodel.py, exit status != 0: 0.6503076404333115 0.664067974 0.029955235 Calling exit ...