Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.001368/0.001368, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001437/0.001437, allocations: 159.6 kB / 23.01 MB, free: 4.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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05089/0.05089, allocations: 7.534 MB / 267.3 MB, free: 9.57 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.89 kB / 392.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09802, allocations: 54.92 MB / 447.7 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01999/0.118, allocations: 15.47 MB / 463.1 MB, free: 5.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1295, allocations: 9.818 MB / 472.9 MB, free: 11.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.1296, allocations: 0 / 472.9 MB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.1302, allocations: 215.4 kB / 473.2 MB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.1303, allocations: 47.69 kB / 473.2 MB, free: 10.96 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01414/0.1445, allocations: 6.012 MB / 479.2 MB, free: 4.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1446, allocations: 75.55 kB / 479.3 MB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.1447, allocations: 15.92 kB / 479.3 MB, free: 4.852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.1447, allocations: 39.8 kB / 479.3 MB, free: 4.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.1448, allocations: 19.88 kB / 479.4 MB, free: 4.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.1448, allocations: 4 kB / 479.4 MB, free: 4.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1911/0.3359, allocations: 6.092 MB / 485.5 MB, free: 50.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.3359, allocations: 6.656 kB / 485.5 MB, free: 50.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.3359, allocations: 23.08 kB / 485.5 MB, free: 50.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005775/0.3417, allocations: 3.071 MB / 488.6 MB, free: 50.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3417, allocations: 0 / 488.6 MB, free: 50.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3417, allocations: 0 / 488.6 MB, free: 50.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.3417, allocations: 0 / 488.6 MB, free: 50.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00124/0.343, allocations: 0.7364 MB / 489.3 MB, free: 49.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.343, allocations: 9.469 kB / 489.3 MB, free: 49.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.343, allocations: 7.703 kB / 489.3 MB, free: 49.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.3431, allocations: 105.2 kB / 489.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3431, allocations: 7.578 kB / 489.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3431, allocations: 7.781 kB / 489.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3433, allocations: 59.19 kB / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3433, allocations: 0 / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3433, allocations: 0 / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3433, allocations: 1.688 kB / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.3433, allocations: 31.22 kB / 489.5 MB, free: 49.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.3434, allocations: 128.6 kB / 489.6 MB, free: 49.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.3435, allocations: 44.11 kB / 489.7 MB, free: 49.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.3435, allocations: 44.3 kB / 489.7 MB, free: 49.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04834/0.3919, allocations: 11.9 MB / 0.4899 GB, free: 49.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3919, allocations: 33.84 kB / 0.4899 GB, free: 49.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.3919, allocations: 1.969 kB / 0.4899 GB, free: 49.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002419/0.3921, allocations: 133.1 kB / 0.49 GB, free: 49.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.3921, allocations: 51.41 kB / 0.4901 GB, free: 49.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.3922, allocations: 99.81 kB / 0.4902 GB, free: 48.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.3922, allocations: 25.7 kB / 0.4902 GB, free: 48.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.3922, allocations: 80.3 kB / 0.4903 GB, free: 48.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.3923, allocations: 53.17 kB / 0.4903 GB, free: 48.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3923, allocations: 23.02 kB / 0.4903 GB, free: 48.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.3923, allocations: 318.6 kB / 0.4907 GB, free: 48.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.3924, allocations: 23.06 kB / 0.4907 GB, free: 48.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.3924, allocations: 31.09 kB / 0.4907 GB, free: 48.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.3924, allocations: 72.94 kB / 0.4908 GB, free: 48.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3924, allocations: 0 / 0.4908 GB, free: 48.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.291e-05/0.3925, allocations: 103.1 kB / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3925, allocations: 6.344 kB / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3926, allocations: 0 / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3926, allocations: 4.062 kB / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3926, allocations: 0 / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3926, allocations: 0 / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.3926, allocations: 2.906 kB / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3926, allocations: 0 / 0.4909 GB, free: 48.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.09e-05/0.3927, allocations: 118.4 kB / 0.491 GB, free: 48.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.3927, allocations: 6.922 kB / 0.491 GB, free: 48.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3928, allocations: 163.2 kB / 0.4912 GB, free: 48.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3928, allocations: 3.125 kB / 0.4912 GB, free: 48.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3928, allocations: 6.531 kB / 0.4912 GB, free: 48.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.3928, allocations: 0 / 0.4912 GB, free: 48.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.361e-05/0.3929, allocations: 114 kB / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3929, allocations: 0 / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.3929, allocations: 4.453 kB / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3929, allocations: 0 / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3929, allocations: 9.812 kB / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3929, allocations: 3.188 kB / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3929, allocations: 0 / 0.4913 GB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.238e-05/0.393, allocations: 93.33 kB / 0.4914 GB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.393, allocations: 6.969 kB / 0.4914 GB, free: 47.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.393, allocations: 11.45 kB / 0.4914 GB, free: 47.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.393, allocations: 3.125 kB / 0.4914 GB, free: 47.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.393, allocations: 0 / 0.4914 GB, free: 47.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3931, allocations: 0 / 0.4914 GB, free: 47.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.3931, allocations: 101 kB / 0.4915 GB, free: 47.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 0.4915 GB, free: 47.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001853/0.3949, allocations: 0.8858 MB / 0.4924 GB, free: 47.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002787/0.3977, allocations: 1.358 MB / 0.4937 GB, free: 47.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3978, allocations: 48.02 kB / 0.4937 GB, free: 47.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3978, allocations: 0 / 0.4937 GB, free: 47.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.3979, allocations: 17.38 kB / 0.4938 GB, free: 47.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.3983, allocations: 64.48 kB / 0.4938 GB, free: 47.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.3986, allocations: 160.4 kB / 0.494 GB, free: 47.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.3986, allocations: 67.98 kB / 0.494 GB, free: 47.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.3986, allocations: 4 kB / 0.494 GB, free: 47.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.3986, allocations: 15 kB / 0.4941 GB, free: 47.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3986, allocations: 0 / 0.4941 GB, free: 47.18 MB / 446.1 MB Notification: Performance of Templates: time 0.03378/0.4324, allocations: 24.23 MB / 0.5177 GB, free: 43 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.593171471031383] Failed to read output from testmodel.py, exit status != 0: 0.4403347009792924 0.44961907300000004 0.105555412 Calling exit ...