Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.001697/0.001697, allocations: 77.94 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.002228/0.002228, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.04997/0.04997, allocations: 7.528 MB / 267.3 MB, free: 9.578 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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.91 kB / 392.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 54.92 MB / 447.7 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02031/0.1252, allocations: 15.38 MB / 463 MB, free: 5.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1363, allocations: 9.262 MB / 472.3 MB, free: 11.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.1364, allocations: 0 / 472.3 MB, free: 11.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.1371, allocations: 227.4 kB / 472.5 MB, free: 11.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.1371, allocations: 31.89 kB / 472.6 MB, free: 11.61 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.01501/0.1521, allocations: 5.968 MB / 478.5 MB, free: 5.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1523, allocations: 55.73 kB / 478.6 MB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1523, allocations: 7.922 kB / 478.6 MB, free: 5.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1524, allocations: 27.86 kB / 478.6 MB, free: 5.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1525, allocations: 11.94 kB / 478.6 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1525, allocations: 0 / 478.6 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.196/0.3485, allocations: 6.095 MB / 484.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3485, allocations: 6.109 kB / 484.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.3485, allocations: 16.31 kB / 484.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006179/0.3547, allocations: 3.029 MB / 487.8 MB, free: 50.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3547, allocations: 3.031 kB / 487.8 MB, free: 50.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3547, allocations: 0.625 kB / 487.8 MB, free: 50.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3547, allocations: 0 / 487.8 MB, free: 50.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001033/0.3557, allocations: 0.7003 MB / 488.5 MB, free: 50 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3558, allocations: 10.69 kB / 488.5 MB, free: 50 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3558, allocations: 3.25 kB / 488.5 MB, free: 50 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.358e-05/0.3559, allocations: 109.1 kB / 488.6 MB, free: 49.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3559, allocations: 0 / 488.6 MB, free: 49.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3559, allocations: 5.812 kB / 488.6 MB, free: 49.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.356, allocations: 41.5 kB / 488.6 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.356, allocations: 0 / 488.6 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.356, allocations: 3.094 kB / 488.6 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.356, allocations: 0 / 488.6 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.356, allocations: 14.91 kB / 488.7 MB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.3562, allocations: 110 kB / 488.8 MB, free: 49.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.725e-05/0.3562, allocations: 28.67 kB / 488.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.3562, allocations: 25.67 kB / 488.8 MB, free: 49.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03983/0.3961, allocations: 9.729 MB / 498.5 MB, free: 49.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3961, allocations: 30.56 kB / 498.6 MB, free: 49.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3961, allocations: 0 / 498.6 MB, free: 49.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001725/0.3963, allocations: 78.78 kB / 498.7 MB, free: 49.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.3963, allocations: 54.22 kB / 498.7 MB, free: 49.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.48e-05/0.3963, allocations: 96.36 kB / 498.8 MB, free: 49.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.3963, allocations: 25.7 kB / 498.8 MB, free: 49.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.3963, allocations: 80.14 kB / 498.9 MB, free: 49.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3964, allocations: 21.97 kB / 498.9 MB, free: 49.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.3964, allocations: 16.72 kB / 498.9 MB, free: 49.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.3964, allocations: 325.1 kB / 499.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.3964, allocations: 9.031 kB / 499.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.3965, allocations: 12.19 kB / 499.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.3965, allocations: 38.5 kB / 499.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3965, allocations: 0 / 499.3 MB, free: 48.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.307e-05/0.3966, allocations: 71.38 kB / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3966, allocations: 6.5 kB / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3966, allocations: 0 / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3966, allocations: 0 / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.3966, allocations: 10.72 kB / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3966, allocations: 1.562 kB / 499.4 MB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.3966, allocations: 3.938 kB / 499.4 MB, free: 48.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.3966, allocations: 0 / 499.4 MB, free: 48.74 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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.466e-05/0.3967, allocations: 115.9 kB / 499.5 MB, free: 48.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.3967, allocations: 0 / 499.5 MB, free: 48.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.565e-05/0.3968, allocations: 177.1 kB / 499.7 MB, free: 48.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.3968, allocations: 179.5 kB / 499.9 MB, free: 48.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.3968, allocations: 186.8 kB / 0.4883 GB, free: 48.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.3968, allocations: 180.6 kB / 0.4885 GB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.3969, allocations: 365.2 kB / 0.4889 GB, free: 47.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.397, allocations: 108.1 kB / 0.489 GB, free: 47.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.397, allocations: 104.1 kB / 0.4891 GB, free: 47.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.397, allocations: 179.6 kB / 0.4892 GB, free: 47.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.397, allocations: 182.7 kB / 0.4894 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.397, allocations: 183.9 kB / 0.4896 GB, free: 46.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-05/0.397, allocations: 179 kB / 0.4897 GB, free: 46.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.015e-05/0.3971, allocations: 315.6 kB / 0.4901 GB, free: 46.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3971, allocations: 107.5 kB / 0.4902 GB, free: 46.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.3972, allocations: 184 kB / 0.4903 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.3972, allocations: 107 kB / 0.4904 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3972, allocations: 185.7 kB / 0.4906 GB, free: 45.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3973, allocations: 108.8 kB / 0.4907 GB, free: 45.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.119e-05/0.3973, allocations: 99.47 kB / 0.4908 GB, free: 45.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3973, allocations: 0 / 0.4908 GB, free: 45.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001666/0.399, allocations: 0.8724 MB / 0.4917 GB, free: 45.35 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: 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.002608/0.4016, allocations: 1.425 MB / 0.4931 GB, free: 44.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.4016, allocations: 23.31 kB / 0.4931 GB, free: 44.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4016, allocations: 0 / 0.4931 GB, free: 44.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4016, allocations: 4.062 kB / 0.4931 GB, free: 44.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.4021, allocations: 488.8 kB / 0.4935 GB, free: 44.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.4023, allocations: 208 kB / 0.4937 GB, free: 44.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.93e-05/0.4023, allocations: 57.8 kB / 0.4938 GB, free: 44.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.711e-05/0.4023, allocations: 7.562 kB / 0.4938 GB, free: 44.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.094e-05/0.4023, allocations: 11.81 kB / 0.4938 GB, free: 44.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4023, allocations: 0 / 0.4938 GB, free: 44.26 MB / 446.1 MB Notification: Performance of Templates: time 0.03286/0.4352, allocations: 23.56 MB / 0.5168 GB, free: 41.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.522447098046541] Failed to read output from testmodel.py, exit status != 0: 0.4431554200127721 0.45300310899999996 0.095956922 Calling exit ...