Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00148/0.00148, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001971/0.001971, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.199 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6185 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.194e-05, allocations: 5.266 kB / 0.6185 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4785/0.4786, allocations: 119 MB / 0.7348 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001801/0.4788, allocations: 52.7 kB / 0.7348 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.4788, allocations: 1.094 kB / 0.7348 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.4789, allocations: 9.781 kB / 0.7348 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.479, allocations: 10.73 kB / 0.7348 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.48, allocations: 250.3 kB / 0.7351 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4801, allocations: 32.55 kB / 0.7351 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.4801, allocations: 7.734 kB / 0.7351 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.4802, allocations: 17.8 kB / 0.7351 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.4803, allocations: 14.58 kB / 0.7352 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4803, allocations: 0.6562 kB / 0.7352 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.4807, allocations: 180.8 kB / 0.7353 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.4808, allocations: 12.2 kB / 0.7353 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.4808, allocations: 9.984 kB / 0.7353 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.4812, allocations: 179.7 kB / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4812, allocations: 0.6562 kB / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4813, allocations: 0.6875 kB / 0.7355 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.4813, allocations: 0 / 0.7355 GB, free: 7.312 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.0003935/0.4817, allocations: 286.2 kB / 0.7358 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4817, allocations: 9.688 kB / 0.7358 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.4818, allocations: 2.5 kB / 0.7358 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.4818, allocations: 104 kB / 0.7359 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.4819, allocations: 61 kB / 0.736 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.4819, allocations: 1.438 kB / 0.736 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4821, allocations: 70.81 kB / 0.736 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4821, allocations: 6.859 kB / 0.736 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4821, allocations: 3.812 kB / 0.736 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4821, allocations: 1.125 kB / 0.736 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.4822, allocations: 11.09 kB / 0.736 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.4828, allocations: 252.9 kB / 0.7363 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.4828, allocations: 24.67 kB / 0.7363 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.4828, allocations: 21.3 kB / 0.7363 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.611e-05/0.4829, allocations: 25.89 kB / 0.7364 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4829, allocations: 31.53 kB / 0.7364 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4829, allocations: 0.875 kB / 0.7364 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.483, allocations: 40.84 kB / 0.7364 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4831, allocations: 54.08 kB / 0.7365 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.4831, allocations: 106.6 kB / 0.7366 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.4831, allocations: 25.7 kB / 0.7366 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.4832, allocations: 85.28 kB / 0.7367 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.4832, allocations: 8.188 kB / 0.7367 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.4832, allocations: 19.59 kB / 0.7367 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.4832, allocations: 316.6 kB / 0.737 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.4833, allocations: 9.125 kB / 0.737 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.4833, allocations: 14.88 kB / 0.737 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.019e-05/0.4833, allocations: 20.88 kB / 0.7371 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4833, allocations: 1.375 kB / 0.7371 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.733e-05/0.4834, allocations: 51.48 kB / 0.7371 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4834, allocations: 10.56 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4834, allocations: 3.188 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4834, allocations: 1.5 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.4835, allocations: 7.156 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4835, allocations: 0 / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.4835, allocations: 2.562 kB / 0.7371 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4835, allocations: 2.5 kB / 0.7371 GB, free: 5.758 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 4.841e-05/0.4835, allocations: 112.7 kB / 0.7372 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.4836, allocations: 6.906 kB / 0.7373 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.276e-05/0.4837, allocations: 126.3 kB / 0.7374 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.4837, allocations: 180.9 kB / 0.7375 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/0.4837, allocations: 181.5 kB / 0.7377 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.4837, allocations: 179.8 kB / 0.7379 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4839, allocations: 354.9 kB / 0.7382 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.4839, allocations: 106.2 kB / 0.7383 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.4839, allocations: 111.3 kB / 0.7384 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/0.4839, allocations: 184.1 kB / 0.7386 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.4839, allocations: 177.5 kB / 0.7388 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.38e-05/0.484, allocations: 181.2 kB / 0.739 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.528e-05/0.484, allocations: 183 kB / 0.7391 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.4841, allocations: 311.8 kB / 0.7394 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.4841, allocations: 110.3 kB / 0.7395 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.4841, allocations: 178.6 kB / 0.7397 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4842, allocations: 109.7 kB / 0.7398 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4843, allocations: 183.6 kB / 0.74 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4843, allocations: 106.4 kB / 0.7401 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.4843, allocations: 88.25 kB / 0.7402 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4843, allocations: 0 / 0.7402 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003228/0.4846, allocations: 58.83 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.0003108/0.485, allocations: 255.3 kB / 0.7405 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.485, allocations: 9.594 kB / 0.7405 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.485, allocations: 1.375 kB / 0.7405 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.485, allocations: 3.938 kB / 0.7405 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4853, allocations: 470.2 kB / 0.7409 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.4856, allocations: 171 kB / 0.7411 GB, free: 17.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.4857, allocations: 58.97 kB / 0.7411 GB, free: 17.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.4857, allocations: 5.594 kB / 0.7412 GB, free: 17.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.4857, allocations: 9.844 kB / 0.7412 GB, free: 17.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.4857, allocations: 1.203 kB / 0.7412 GB, free: 17.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.004312/0.4901, allocations: 1.348 MB / 0.7425 GB, free: 17.46 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.40737260133028] Failed to read output from testmodel.py, exit status != 0: 0.5001385100185871 0.5154033020000001 0.03101326 Calling exit ...