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.0008565/0.0008565, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008573/0.0008573, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9814/0.9814, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.751/0.751, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 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 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.962e-05, allocations: 5.375 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4182/0.4182, allocations: 119 MB / 0.7342 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001447/0.4183, allocations: 56.59 kB / 0.7343 GB, free: 27.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.4184, allocations: 0 / 0.7343 GB, free: 27.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.4185, allocations: 5.062 kB / 0.7343 GB, free: 27.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.4186, allocations: 13.69 kB / 0.7343 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.4192, allocations: 250.2 kB / 0.7346 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.4193, allocations: 32.03 kB / 0.7346 GB, free: 27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.4193, allocations: 6.078 kB / 0.7346 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.4194, allocations: 20.73 kB / 0.7346 GB, free: 26.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.4195, allocations: 10.69 kB / 0.7346 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.4195, allocations: 1.219 kB / 0.7346 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.4197, allocations: 187.8 kB / 0.7348 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.4198, allocations: 2.906 kB / 0.7348 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.4198, allocations: 11.09 kB / 0.7348 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.42, allocations: 177.4 kB / 0.735 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.42, allocations: 0 / 0.735 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.42, allocations: 1.281 kB / 0.735 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.42, allocations: 3.281 kB / 0.735 GB, free: 26.86 MB / 0.6355 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.0003045/0.4203, allocations: 277.3 kB / 0.7353 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4204, allocations: 14.73 kB / 0.7353 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.332e-05/0.4204, allocations: 32.19 kB / 0.7353 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.4204, allocations: 2.375 kB / 0.7353 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.287e-05/0.4205, allocations: 114.3 kB / 0.7354 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.4205, allocations: 54.47 kB / 0.7355 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.4205, allocations: 1.719 kB / 0.7355 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.4206, allocations: 75.7 kB / 0.7355 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4207, allocations: 0 / 0.7355 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4207, allocations: 0 / 0.7355 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.4207, allocations: 1.438 kB / 0.7355 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.4207, allocations: 19.94 kB / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.4212, allocations: 283 kB / 0.7358 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.4212, allocations: 24.02 kB / 0.7358 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.4212, allocations: 9.469 kB / 0.7359 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.4213, allocations: 27.25 kB / 0.7359 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.4213, allocations: 36.28 kB / 0.7359 GB, free: 25.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.4213, allocations: 0 / 0.7359 GB, free: 25.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.4214, allocations: 35.3 kB / 0.7359 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.4214, allocations: 52.53 kB / 0.736 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.4215, allocations: 107.7 kB / 0.7361 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.4215, allocations: 26.98 kB / 0.7361 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.4215, allocations: 90.53 kB / 0.7362 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-06/0.4215, allocations: 5.109 kB / 0.7362 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4215, allocations: 20.47 kB / 0.7362 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.565e-05/0.4216, allocations: 316.3 kB / 0.7365 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.4216, allocations: 2.344 kB / 0.7365 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.4216, allocations: 20.73 kB / 0.7366 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.4216, allocations: 20.88 kB / 0.7366 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4216, allocations: 0 / 0.7366 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.267e-05/0.4216, allocations: 54.66 kB / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4217, allocations: 4.781 kB / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4217, allocations: 1.125 kB / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4217, allocations: 0 / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.4217, allocations: 7.812 kB / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4217, allocations: 1.094 kB / 0.7366 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.4217, allocations: 1.344 kB / 0.7367 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4217, allocations: 1.5 kB / 0.7367 GB, free: 25.19 MB / 0.6355 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 3.244e-05/0.4218, allocations: 113.5 kB / 0.7368 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.4218, allocations: 5.094 kB / 0.7368 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.4219, allocations: 132.5 kB / 0.7369 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4219, allocations: 177.5 kB / 0.7371 GB, free: 24.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.4219, allocations: 181.4 kB / 0.7372 GB, free: 24.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4219, allocations: 183.3 kB / 0.7374 GB, free: 24.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.618e-05/0.422, allocations: 387.7 kB / 0.7378 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.422, allocations: 108.3 kB / 0.7379 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.422, allocations: 106.1 kB / 0.738 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.422, allocations: 186.6 kB / 0.7382 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.422, allocations: 177.7 kB / 0.7383 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.422, allocations: 181.3 kB / 0.7385 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.422, allocations: 185.8 kB / 0.7387 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.535e-05/0.4221, allocations: 308.5 kB / 0.739 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.4221, allocations: 105.3 kB / 0.7391 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.4221, allocations: 178.8 kB / 0.7392 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.4222, allocations: 110.7 kB / 0.7394 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.4222, allocations: 177.7 kB / 0.7395 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.4222, allocations: 106 kB / 0.7396 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.4222, allocations: 88.66 kB / 0.7397 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4222, allocations: 0 / 0.7397 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001914/0.4224, allocations: 52.78 kB / 0.7398 GB, free: 21.93 MB / 0.6355 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.0002798/0.4227, allocations: 0.8891 MB / 0.7406 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.4228, allocations: 9.75 kB / 0.7406 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4228, allocations: 1.375 kB / 0.7406 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.4228, allocations: 4.125 kB / 0.7406 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.423, allocations: 460.1 kB / 0.7411 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.4235, allocations: 1.349 MB / 0.7424 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.989e-05/0.4235, allocations: 64.05 kB / 0.7425 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.4235, allocations: 7.859 kB / 0.7425 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.4236, allocations: 13.62 kB / 0.7425 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4236, allocations: 3.938 kB / 0.7425 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.4395, allocations: 2.902 MB / 0.7453 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.331, allocations: 6.453 kB / 0.7453 GB, free: 18.2 MB / 0.6355 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.222983559593558] Failed to read output from testmodel.py, exit status != 0: 7.413631563074887 7.426458663 7.004396638 Calling exit ...