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.0009755/0.0009755, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001022/0.001022, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.8953/0.8953, allocations: 177.1 MB / 203.8 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] 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.02876/0.02876, allocations: 7.522 MB / 267.8 MB, free: 6.086 MB / 250.7 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 1.773e-06/1.773e-06, allocations: 0 / 338.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.461e-05, allocations: 4.703 kB / 338.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01115/0.01118, allocations: 16.98 MB / 355.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00741/0.01859, allocations: 10.5 MB / 366.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.01862, allocations: 0 / 366.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.01905, allocations: 235.3 kB / 366.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/0.01908, allocations: 27.89 kB / 366.4 MB, free: 15.51 MB / 298.7 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.008176/0.02726, allocations: 6.028 MB / 372.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.02733, allocations: 55.67 kB / 372.5 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.904e-05/0.02736, allocations: 4 kB / 372.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.02744, allocations: 35.84 kB / 372.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.429e-05/0.02746, allocations: 11.94 kB / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-06/0.02747, allocations: 0 / 372.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005904/0.03337, allocations: 6.146 MB / 378.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.03338, allocations: 3.938 kB / 378.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.03341, allocations: 8 kB / 378.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.03702, allocations: 3.612 MB / 382.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.03703, allocations: 0 / 382.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.03703, allocations: 0 / 382.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.03703, allocations: 0 / 382.3 MB, free: 15.55 MB / 314.7 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.0007269/0.03776, allocations: 0.8007 MB / 383.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.03779, allocations: 16.61 kB / 383.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.03782, allocations: 3.938 kB / 383.1 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.0379, allocations: 108.1 kB / 383.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.03792, allocations: 0 / 383.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.03792, allocations: 3.938 kB / 383.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.899e-05/0.03799, allocations: 33.7 kB / 383.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.038, allocations: 4 kB / 383.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.038, allocations: 0 / 383.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.03801, allocations: 0 / 383.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.142e-05/0.03802, allocations: 7.984 kB / 383.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.03813, allocations: 124.5 kB / 383.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.03816, allocations: 31.06 kB / 383.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.03818, allocations: 15.66 kB / 383.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/0.05834, allocations: 9.25 MB / 392.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.05837, allocations: 37.39 kB / 392.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.05837, allocations: 0 / 392.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001625/0.05853, allocations: 57.59 kB / 392.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.05856, allocations: 51.41 kB / 392.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.05863, allocations: 162 kB / 393 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.05864, allocations: 33.73 kB / 393 MB, free: 4.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.05867, allocations: 130.9 kB / 393.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.0587, allocations: 19.8 kB / 393.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.05873, allocations: 23.38 kB / 393.2 MB, free: 4.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.05883, allocations: 496.1 kB / 393.7 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.05884, allocations: 4 kB / 393.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.05885, allocations: 8 kB / 393.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.882e-05/0.05888, allocations: 24 kB / 393.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.05888, allocations: 0 / 393.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.132e-05/0.05893, allocations: 53.61 kB / 393.7 MB, free: 3.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.05895, allocations: 10.56 kB / 393.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.05895, allocations: 0 / 393.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.05897, allocations: 4 kB / 393.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.05897, allocations: 0 / 393.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.05897, allocations: 0 / 393.8 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.05899, allocations: 7.875 kB / 393.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.05899, allocations: 0 / 393.8 MB, free: 3.844 MB / 314.7 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 6.045e-05/0.05905, allocations: 160.6 kB / 393.9 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-06/0.05906, allocations: 3.953 kB / 393.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.05919, allocations: 242.6 kB / 394.2 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/0.05924, allocations: 272.1 kB / 394.4 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-05/0.05929, allocations: 268.1 kB / 394.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.242e-05/0.05934, allocations: 276 kB / 395 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.0595, allocations: 0.4998 MB / 395.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.05953, allocations: 148.8 kB / 395.6 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.05956, allocations: 152.9 kB / 395.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.05962, allocations: 264.1 kB / 396 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/0.05992, allocations: 268 kB / 396.3 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.028e-05/0.05997, allocations: 272.1 kB / 396.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.795e-05/0.06002, allocations: 268 kB / 396.8 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.06013, allocations: 452.1 kB / 397.2 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.06016, allocations: 152.9 kB / 397.4 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.06023, allocations: 272.1 kB / 397.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.06028, allocations: 152.8 kB / 397.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.06034, allocations: 264.1 kB / 398.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.06037, allocations: 156.8 kB / 398.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.06042, allocations: 139.2 kB / 398.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06042, allocations: 0 / 398.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001205/0.06162, allocations: 0.8761 MB / 399.2 MB, free: 14.15 MB / 330.7 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.002067/0.06369, allocations: 1.597 MB / 400.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.564e-05/0.06376, allocations: 19.69 kB / 400.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.06377, allocations: 0 / 400.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.06377, allocations: 3.938 kB / 400.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.06413, allocations: 0.7398 MB / 401.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.06466, allocations: 265.4 kB / 401.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.954e-05/0.06469, allocations: 59.34 kB / 401.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.0647, allocations: 0 / 401.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.06472, allocations: 12.5 kB / 401.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.06472, allocations: 0 / 401.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.1054/0.1701, allocations: 23.85 MB / 425.8 MB, free: 77.86 MB / 330.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.146670246962458]