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.001286/0.001286, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001377/0.001377, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.9014/0.9014, allocations: 133.9 MB / 443.5 MB, free: 13.86 MB / 350.1 MB " [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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [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.001945/0.001945, allocations: 65.95 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1475, allocations: 85.86 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1688/0.3163, allocations: 138.7 MB / 0.8333 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.3165, allocations: 51.84 kB / 0.8334 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.3165, allocations: 0 / 0.8334 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3167, allocations: 11.94 kB / 0.8334 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.3168, allocations: 7.969 kB / 0.8334 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.3177, allocations: 252.5 kB / 0.8337 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3178, allocations: 35.91 kB / 0.8337 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3179, allocations: 0 / 0.8337 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.3179, allocations: 23.84 kB / 0.8337 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.318, allocations: 16 kB / 0.8337 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.318, allocations: 0 / 0.8337 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.3186, allocations: 255.4 kB / 0.834 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.3186, allocations: 11.98 kB / 0.834 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.3187, allocations: 11.92 kB / 0.834 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.319, allocations: 189.5 kB / 0.8342 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.319, allocations: 0 / 0.8342 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.319, allocations: 0 / 0.8342 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.319, allocations: 0 / 0.8342 GB, free: 2.977 MB / 0.6387 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.0005072/0.3195, allocations: 371.1 kB / 0.8345 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3196, allocations: 13.64 kB / 0.8345 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.3196, allocations: 192 / 0.8345 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.3196, allocations: 30.75 kB / 0.8346 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.3197, allocations: 8.938 kB / 0.8346 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3198, allocations: 164.4 kB / 0.8347 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.3199, allocations: 33.83 kB / 0.8348 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.3199, allocations: 0 / 0.8348 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.32, allocations: 45.62 kB / 0.8348 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.32, allocations: 0 / 0.8348 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.32, allocations: 4 kB / 0.8348 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.3201, allocations: 3.984 kB / 0.8348 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.3201, allocations: 12 kB / 0.8348 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008442/0.321, allocations: 0.5949 MB / 0.8354 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/0.321, allocations: 30.61 kB / 0.8354 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.321, allocations: 4.859 kB / 0.8354 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002455/0.3213, allocations: 340.4 kB / 0.8358 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3213, allocations: 30.56 kB / 0.8358 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3213, allocations: 0 / 0.8358 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.3215, allocations: 29.7 kB / 0.8358 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3215, allocations: 55.41 kB / 0.8359 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3216, allocations: 109.9 kB / 0.836 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3216, allocations: 29.64 kB / 0.836 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.3217, allocations: 92.09 kB / 0.8361 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.3217, allocations: 3.938 kB / 0.8361 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3217, allocations: 17.7 kB / 0.8361 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3219, allocations: 314.8 kB / 0.8364 GB, free: 304 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.3219, allocations: 4 kB / 0.8364 GB, free: 300 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.3219, allocations: 17.66 kB / 0.8364 GB, free: 276 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.3219, allocations: 25.7 kB / 0.8365 GB, free: 244 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3219, allocations: 4 kB / 0.8365 GB, free: 240 kB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.346e-05/0.322, allocations: 53.59 kB / 0.8365 GB, free: 180 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.322, allocations: 7.984 kB / 0.8365 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.322, allocations: 0 / 0.8365 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3221, allocations: 0 / 0.8365 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.3221, allocations: 4 kB / 0.8365 GB, free: 168 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3221, allocations: 12.05 kB / 0.8365 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.3221, allocations: 3.938 kB / 0.8365 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3222, allocations: 0 / 0.8365 GB, free: 152 kB / 0.6387 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 8.476e-05/0.3222, allocations: 110.5 kB / 0.8367 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3223, allocations: 0 / 0.8367 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.3224, allocations: 128.8 kB / 0.8368 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.191e-05/0.3225, allocations: 180.5 kB / 0.8369 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-05/0.3226, allocations: 184.2 kB / 0.8371 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.3227, allocations: 188.2 kB / 0.8373 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.3229, allocations: 401.2 kB / 0.8377 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/0.323, allocations: 112.9 kB / 0.8378 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.323, allocations: 101 kB / 0.8379 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.3231, allocations: 184.2 kB / 0.8381 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.3232, allocations: 176.3 kB / 0.8382 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.911e-05/0.3233, allocations: 184.3 kB / 0.8384 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.3233, allocations: 184.2 kB / 0.8386 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3235, allocations: 311.9 kB / 0.8389 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.3236, allocations: 182.1 kB / 0.8391 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3237, allocations: 188.3 kB / 0.8392 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3239, allocations: 108.9 kB / 0.8393 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.3239, allocations: 180.2 kB / 0.8395 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.324, allocations: 108.9 kB / 0.8396 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.3241, allocations: 91.22 kB / 0.8397 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.3241, allocations: 0 / 0.8397 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003388/0.3244, allocations: 59.73 kB / 0.8398 GB, free: 12.64 MB / 0.6544 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.0006693/0.3251, allocations: 0.8868 MB / 0.8406 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.3251, allocations: 7.938 kB / 0.8406 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3251, allocations: 0 / 0.8406 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.3251, allocations: 4 kB / 0.8406 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3256, allocations: 471.7 kB / 0.8411 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3268, allocations: 1.336 MB / 0.8424 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3271, allocations: 0.6729 MB / 0.843 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.3271, allocations: 19.88 kB / 0.8431 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3271, allocations: 7.438 kB / 0.8431 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.3271, allocations: 0 / 0.8431 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.3457, allocations: 2.23 MB / 0.8453 GB, free: 7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.454, allocations: 16.94 kB / 0.8453 GB, free: 6.984 MB / 0.6544 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.231571399024688] Failed to read output from testmodel.py, exit status != 0: 8.844125078001525 8.592609613 8.27050229 Calling exit ...