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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 109.2 kB / 18.7 MB, free: 3.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 192.4 kB / 21.95 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250.7 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.071/1.071, allocations: 175.7 MB / 481.6 MB, free: 7.867 MB / 382.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00191/0.00191, allocations: 72.89 kB / 0.67 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6141, allocations: 94.51 MB / 0.7623 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1722/0.7863, allocations: 135.8 MB / 0.8949 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001907/0.7865, allocations: 47.86 kB / 0.8949 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.7865, allocations: 4 kB / 0.895 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.7867, allocations: 7.938 kB / 0.895 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.7867, allocations: 13.78 kB / 0.895 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.7877, allocations: 240.1 kB / 0.8952 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.7878, allocations: 31.92 kB / 0.8952 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.7878, allocations: 4 kB / 0.8952 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.7879, allocations: 19.91 kB / 0.8953 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.788, allocations: 19.92 kB / 0.8953 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.788, allocations: 0 / 0.8953 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.7885, allocations: 251.4 kB / 0.8955 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.7885, allocations: 11.97 kB / 0.8955 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.7886, allocations: 8 kB / 0.8955 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.7889, allocations: 182.3 kB / 0.8957 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7889, allocations: 0 / 0.8957 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7889, allocations: 0 / 0.8957 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7889, allocations: 4 kB / 0.8957 GB, free: 14.01 MB / 0.6856 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.0004868/0.7894, allocations: 367.1 kB / 0.8961 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7895, allocations: 12.03 kB / 0.8961 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.7895, allocations: 2.188 kB / 0.8961 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7897, allocations: 168.3 kB / 0.8962 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.7897, allocations: 30.27 kB / 0.8963 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.7897, allocations: 3.938 kB / 0.8963 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.7899, allocations: 45.62 kB / 0.8963 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.7899, allocations: 4 kB / 0.8963 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7899, allocations: 4 kB / 0.8963 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.7899, allocations: 0 / 0.8963 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.7899, allocations: 15.97 kB / 0.8963 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/0.7908, allocations: 0.5988 MB / 0.8969 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.7908, allocations: 26.58 kB / 0.8969 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.7908, allocations: 4.859 kB / 0.8969 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.7911, allocations: 336.5 kB / 0.8973 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.7911, allocations: 30.56 kB / 0.8973 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.7911, allocations: 0 / 0.8973 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.7913, allocations: 49.58 kB / 0.8973 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.7913, allocations: 51.41 kB / 0.8974 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.7914, allocations: 93.98 kB / 0.8975 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.7914, allocations: 33.7 kB / 0.8975 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.7915, allocations: 92.08 kB / 0.8976 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.7915, allocations: 0 / 0.8976 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.7915, allocations: 13.72 kB / 0.8976 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7917, allocations: 318.8 kB / 0.8979 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.7917, allocations: 7.625 kB / 0.8979 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.7917, allocations: 21.7 kB / 0.898 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.7917, allocations: 25.66 kB / 0.898 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7917, allocations: 0 / 0.898 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.782e-05/0.7918, allocations: 49.69 kB / 0.898 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7918, allocations: 4 kB / 0.898 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7918, allocations: 0 / 0.898 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7919, allocations: 0 / 0.898 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.862e-05/0.7919, allocations: 11.94 kB / 0.898 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7919, allocations: 64 / 0.898 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.7919, allocations: 7.953 kB / 0.898 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7919, allocations: 11.86 kB / 0.8981 GB, free: 11.22 MB / 0.6856 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 7.945e-05/0.792, allocations: 109.8 kB / 0.8982 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.792, allocations: 0 / 0.8982 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.7922, allocations: 117 kB / 0.8983 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.897e-05/0.7922, allocations: 184.2 kB / 0.8984 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-05/0.7923, allocations: 184.3 kB / 0.8986 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.228e-05/0.7924, allocations: 180.2 kB / 0.8988 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.7927, allocations: 413.1 kB / 0.8992 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.7927, allocations: 101 kB / 0.8993 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.7928, allocations: 104.9 kB / 0.8994 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.796e-05/0.7928, allocations: 180.3 kB / 0.8996 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.313e-05/0.7929, allocations: 192.2 kB / 0.8997 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-05/0.793, allocations: 176.3 kB / 0.8999 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.368e-05/0.7931, allocations: 176.3 kB / 0.9001 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.7932, allocations: 315.7 kB / 0.9004 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.7933, allocations: 182.3 kB / 0.9006 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.7934, allocations: 180.3 kB / 0.9007 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.7936, allocations: 113 kB / 0.9008 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.7936, allocations: 184.2 kB / 0.901 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.7937, allocations: 104.9 kB / 0.9011 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.7937, allocations: 91.22 kB / 0.9012 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7937, allocations: 0 / 0.9012 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003193/0.7941, allocations: 63.73 kB / 0.9013 GB, free: 7.727 MB / 0.6856 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.0003374/0.7944, allocations: 254.5 kB / 0.9015 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.7945, allocations: 11.94 kB / 0.9015 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7945, allocations: 4 kB / 0.9015 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.7945, allocations: 0 / 0.9015 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7949, allocations: 455.7 kB / 0.9019 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.7952, allocations: 223.7 kB / 0.9022 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7955, allocations: 0.6768 MB / 0.9028 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.7955, allocations: 7.438 kB / 0.9028 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.7955, allocations: 0 / 0.9028 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of Templates: time 0.003199/0.7987, allocations: 1.23 MB / 0.904 GB, free: 4.82 MB / 0.6856 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: 8.968637588899583] Failed to read output from testmodel.py, exit status != 0: 0.8070641921367496 0.820957967 0.029002211000000003 Calling exit ...