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.001382/0.001382, 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.001304/0.001304, allocations: 165.9 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.9146/0.9146, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7074/0.7074, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.475e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4173/0.4173, allocations: 119 MB / 0.7343 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.4175, allocations: 60.08 kB / 0.7343 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.4175, allocations: 1.344 kB / 0.7343 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.4177, allocations: 0 / 0.7343 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.4178, allocations: 13.77 kB / 0.7344 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.4186, allocations: 261 kB / 0.7346 GB, free: 27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.4186, allocations: 32 kB / 0.7346 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.4187, allocations: 4.625 kB / 0.7346 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.4187, allocations: 25.98 kB / 0.7347 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.4188, allocations: 8.328 kB / 0.7347 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4188, allocations: 1.312 kB / 0.7347 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.4191, allocations: 176.1 kB / 0.7348 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.4192, allocations: 10.08 kB / 0.7349 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.4192, allocations: 12.06 kB / 0.7349 GB, free: 26.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4195, allocations: 181.5 kB / 0.735 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4195, allocations: 0 / 0.735 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4196, allocations: 0 / 0.735 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4196, allocations: 1.188 kB / 0.735 GB, free: 26.85 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.000361/0.4199, allocations: 283.7 kB / 0.7353 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.42, allocations: 10.53 kB / 0.7353 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.42, allocations: 37.75 kB / 0.7354 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.42, allocations: 3.625 kB / 0.7354 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.492e-05/0.4201, allocations: 106.6 kB / 0.7355 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.4201, allocations: 57.25 kB / 0.7355 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.4202, allocations: 1.906 kB / 0.7355 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4203, allocations: 74.17 kB / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4203, allocations: 1.125 kB / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4203, allocations: 0 / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.4203, allocations: 1.219 kB / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.4204, allocations: 16.75 kB / 0.7356 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.4209, allocations: 284.7 kB / 0.7359 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.613e-05/0.4209, allocations: 20.11 kB / 0.7359 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.421, allocations: 6.516 kB / 0.7359 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.421, allocations: 26.28 kB / 0.7359 GB, free: 25.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.421, allocations: 36.88 kB / 0.736 GB, free: 25.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.421, allocations: 0 / 0.736 GB, free: 25.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.4212, allocations: 38.8 kB / 0.736 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.4212, allocations: 52.69 kB / 0.7361 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.4212, allocations: 102.8 kB / 0.7362 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.4213, allocations: 27.08 kB / 0.7362 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.4213, allocations: 86.61 kB / 0.7363 GB, free: 25.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.4213, allocations: 9.453 kB / 0.7363 GB, free: 25.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.4213, allocations: 22.94 kB / 0.7363 GB, free: 25.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.4213, allocations: 315.8 kB / 0.7366 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.4214, allocations: 2.156 kB / 0.7366 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.4214, allocations: 21.12 kB / 0.7366 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.4214, allocations: 20.62 kB / 0.7366 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4214, allocations: 1 kB / 0.7366 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.34e-05/0.4215, allocations: 49.38 kB / 0.7367 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4215, allocations: 9.562 kB / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4215, allocations: 1.125 kB / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4215, allocations: 1.25 kB / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.4216, allocations: 7.781 kB / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4216, allocations: 0 / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.4216, allocations: 2.062 kB / 0.7367 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4216, allocations: 1.188 kB / 0.7367 GB, free: 25.18 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 4.501e-05/0.4216, allocations: 117 kB / 0.7368 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.4216, allocations: 2.031 kB / 0.7368 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.19e-05/0.4217, allocations: 131.1 kB / 0.7369 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4218, allocations: 181.2 kB / 0.7371 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4218, allocations: 181.3 kB / 0.7373 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.4218, allocations: 184.3 kB / 0.7375 GB, free: 24.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.864e-05/0.4219, allocations: 376.5 kB / 0.7378 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4219, allocations: 113.2 kB / 0.7379 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.4219, allocations: 110.1 kB / 0.738 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.4219, allocations: 181.4 kB / 0.7382 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4219, allocations: 185.6 kB / 0.7384 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.4219, allocations: 180.3 kB / 0.7386 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/0.422, allocations: 181.4 kB / 0.7387 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/0.422, allocations: 309.5 kB / 0.739 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.422, allocations: 110.7 kB / 0.7391 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.4221, allocations: 178.4 kB / 0.7393 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.4222, allocations: 110.7 kB / 0.7394 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.4222, allocations: 177.7 kB / 0.7396 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4222, allocations: 106.3 kB / 0.7397 GB, free: 22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.4222, allocations: 82.84 kB / 0.7398 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4222, allocations: 0 / 0.7398 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002483/0.4225, allocations: 57.03 kB / 0.7398 GB, free: 21.91 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.0004037/0.4229, allocations: 0.8893 MB / 0.7407 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.4229, allocations: 6.688 kB / 0.7407 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4229, allocations: 0 / 0.7407 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4229, allocations: 5.031 kB / 0.7407 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4232, allocations: 468.9 kB / 0.7411 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.424, allocations: 1.348 MB / 0.7425 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.424, allocations: 59.27 kB / 0.7425 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.937e-05/0.4241, allocations: 3.844 kB / 0.7425 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.4241, allocations: 19.06 kB / 0.7425 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.4241, allocations: 4 kB / 0.7425 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.4429, allocations: 2.904 MB / 0.7454 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.052, allocations: 6.047 kB / 0.7454 GB, free: 18.18 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.9247703012079] Failed to read output from testmodel.py, exit status != 0: 8.134279638528824 8.148224993 7.726441672 Calling exit ...