Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.0013/0.0013, 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.001447/0.001447, allocations: 173 kB / 23.49 MB, free: 1.062 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.9313/0.9313, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.03982/0.03982, allocations: 7.522 MB / 267.8 MB, free: 6.062 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.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 338.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.262e-05, allocations: 5.266 kB / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01494/0.01497, allocations: 18.51 MB / 357.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.02676, allocations: 16.52 MB / 373.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.02683, allocations: 0 / 373.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.02745, allocations: 258.7 kB / 373.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.02761, allocations: 139.2 kB / 374.1 MB, free: 7.781 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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. [/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.01199/0.0396, allocations: 7.41 MB / 381.5 MB, free: 344 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.03986, allocations: 262.5 kB / 381.7 MB, free: 80 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.03991, allocations: 9.266 kB / 381.7 MB, free: 68 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.04007, allocations: 155.5 kB / 381.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.04013, allocations: 47.84 kB / 381.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.04014, allocations: 4 kB / 381.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0078/0.04794, allocations: 7.113 MB / 389 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.04796, allocations: 7.938 kB / 389.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.04803, allocations: 43.94 kB / 389.1 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.05244, allocations: 4.375 MB / 393.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.05245, allocations: 0 / 393.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05245, allocations: 0 / 393.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.05245, allocations: 0 / 393.5 MB, free: 4.297 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001143/0.0536, allocations: 1.01 MB / 394.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.05364, allocations: 8.625 kB / 394.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/0.05369, allocations: 19.91 kB / 394.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.05378, allocations: 119.9 kB / 394.6 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.05379, allocations: 0 / 394.6 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.05381, allocations: 15.81 kB / 394.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.05392, allocations: 65.67 kB / 394.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.05393, allocations: 0 / 394.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.05394, allocations: 0 / 394.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.05395, allocations: 15.97 kB / 394.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.05399, allocations: 28 kB / 394.8 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.05415, allocations: 180.2 kB / 394.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.05421, allocations: 55.41 kB / 395 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.05425, allocations: 56.02 kB / 395 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1876/0.2419, allocations: 26.28 MB / 421.3 MB, free: 56.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2419, allocations: 43.14 kB / 421.4 MB, free: 56.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.515e-06/0.2419, allocations: 0 / 421.4 MB, free: 56.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.000372/0.2423, allocations: 213.1 kB / 421.6 MB, free: 56.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.2423, allocations: 52.69 kB / 421.6 MB, free: 56.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.2424, allocations: 160.1 kB / 421.8 MB, free: 56.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2424, allocations: 26.2 kB / 421.8 MB, free: 56.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.836e-05/0.2424, allocations: 128.4 kB / 421.9 MB, free: 56.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.2425, allocations: 134.5 kB / 422.1 MB, free: 56.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.2425, allocations: 55.69 kB / 422.1 MB, free: 56.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.2426, allocations: 0.5039 MB / 422.6 MB, free: 55.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.2426, allocations: 33.41 kB / 422.7 MB, free: 55.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.2427, allocations: 38.59 kB / 422.7 MB, free: 55.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.2427, allocations: 104.8 kB / 422.8 MB, free: 55.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2427, allocations: 0 / 422.8 MB, free: 55.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001254/0.2429, allocations: 163.2 kB / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2429, allocations: 10.97 kB / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2429, allocations: 0 / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2429, allocations: 0 / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.2429, allocations: 0 / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2429, allocations: 3.234 kB / 423 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.243, allocations: 16.45 kB / 423 MB, free: 55.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.243, allocations: 7.594 kB / 423 MB, free: 55.47 MB / 330.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.101e-05/0.243, allocations: 158.4 kB / 423.1 MB, free: 55.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.243, allocations: 17.03 kB / 423.2 MB, free: 55.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.2433, allocations: 382.9 kB / 423.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2433, allocations: 7.547 kB / 423.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2433, allocations: 0 / 423.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2433, allocations: 3.75 kB / 423.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.772e-05/0.2434, allocations: 167 kB / 423.7 MB, free: 55.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2434, allocations: 4 kB / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-06/0.2434, allocations: 6.625 kB / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2434, allocations: 0 / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2434, allocations: 3.594 kB / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2434, allocations: 0 / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2434, allocations: 0 / 423.7 MB, free: 55.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.2435, allocations: 183.2 kB / 423.9 MB, free: 54.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.2436, allocations: 24.41 kB / 423.9 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2436, allocations: 0 / 423.9 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.2436, allocations: 3.594 kB / 423.9 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.2436, allocations: 3.141 kB / 423.9 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2436, allocations: 7.594 kB / 423.9 MB, free: 54.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.015e-05/0.2436, allocations: 137.1 kB / 424.1 MB, free: 54.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2436, allocations: 0 / 424.1 MB, free: 54.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001649/0.2453, allocations: 1.113 MB / 425.2 MB, free: 54.78 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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002312/0.2476, allocations: 1.79 MB / 427 MB, free: 54.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2477, allocations: 93.22 kB / 427.1 MB, free: 54.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2477, allocations: 3.312 kB / 427.1 MB, free: 54.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/0.2478, allocations: 54.08 kB / 427.1 MB, free: 54.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2482, allocations: 158 kB / 427.3 MB, free: 54.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.2489, allocations: 280.6 kB / 427.6 MB, free: 54.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.954e-05/0.2489, allocations: 76.28 kB / 427.6 MB, free: 54.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.2489, allocations: 7.656 kB / 427.6 MB, free: 54.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.2489, allocations: 19.47 kB / 427.7 MB, free: 54.12 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2489, allocations: 0 / 427.7 MB, free: 54.12 MB / 330.7 MB Notification: Performance of Templates: time 0.02258/0.2715, allocations: 30.26 MB / 457.9 MB, free: 29.08 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3803739331196994]