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.0009571/0.0009571, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009586/0.0009586, allocations: 169 kB / 23.02 MB, free: 1.543 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.9312/0.9312, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.03055/0.03055, allocations: 7.532 MB / 267.5 MB, free: 6.008 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 1.523e-06/1.523e-06, allocations: 0 / 338.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.189e-05, allocations: 2.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01527/0.01529, allocations: 18.53 MB / 357.2 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.02719, allocations: 16.52 MB / 373.7 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.02728, allocations: 0 / 373.7 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.02783, allocations: 258.7 kB / 373.9 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.02809, allocations: 131.2 kB / 374.1 MB, free: 7.465 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.01258/0.04067, allocations: 7.426 MB / 381.5 MB, free: 4 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.04092, allocations: 258.6 kB / 381.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.04096, allocations: 13.27 kB / 381.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.04111, allocations: 151.6 kB / 381.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.04117, allocations: 47.84 kB / 381.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.04118, allocations: 4 kB / 381.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009423/0.0506, allocations: 7.124 MB / 389.1 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.05062, allocations: 7.938 kB / 389.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.05073, allocations: 47.92 kB / 389.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.05879, allocations: 4.368 MB / 393.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.05879, allocations: 0 / 393.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.421e-06/0.0588, allocations: 8 kB / 393.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.05881, allocations: 0 / 393.5 MB, free: 3.953 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.001623/0.06043, allocations: 1.01 MB / 394.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.06047, allocations: 8.625 kB / 394.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.06052, allocations: 15.91 kB / 394.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.285e-05/0.06061, allocations: 123.9 kB / 394.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.06062, allocations: 0 / 394.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.06064, allocations: 11.86 kB / 394.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.06075, allocations: 65.69 kB / 394.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.06076, allocations: 0 / 394.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.06077, allocations: 0 / 394.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.06078, allocations: 11.98 kB / 394.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.06082, allocations: 28 kB / 394.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.06098, allocations: 180.2 kB / 394.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.06105, allocations: 63.33 kB / 395 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.06109, allocations: 44.09 kB / 395.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1679/0.229, allocations: 26.29 MB / 421.3 MB, free: 56.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.229, allocations: 33.39 kB / 421.4 MB, free: 56.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.229, allocations: 4 kB / 421.4 MB, free: 56.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002808/0.2293, allocations: 215.1 kB / 421.6 MB, free: 56.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2293, allocations: 55.06 kB / 421.6 MB, free: 56.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.2294, allocations: 159.5 kB / 421.8 MB, free: 56.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.2294, allocations: 25.7 kB / 421.8 MB, free: 56.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.2294, allocations: 131.6 kB / 422 MB, free: 56.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.2295, allocations: 138.8 kB / 422.1 MB, free: 56.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.2295, allocations: 51.64 kB / 422.1 MB, free: 56.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.2296, allocations: 0.4982 MB / 422.6 MB, free: 55.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.2296, allocations: 31.98 kB / 422.7 MB, free: 55.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.2296, allocations: 45.23 kB / 422.7 MB, free: 55.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.2297, allocations: 105.6 kB / 422.8 MB, free: 55.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2297, allocations: 0 / 422.8 MB, free: 55.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001256/0.2298, allocations: 162.4 kB / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2299, allocations: 10.97 kB / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2299, allocations: 2.188 kB / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2299, allocations: 3.281 kB / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-06/0.2299, allocations: 0 / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.2299, allocations: 0 / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.2299, allocations: 17.69 kB / 423 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2299, allocations: 3.625 kB / 423 MB, free: 55.45 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.852e-05/0.23, allocations: 164 kB / 423.2 MB, free: 55.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.23, allocations: 13.59 kB / 423.2 MB, free: 55.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.2303, allocations: 376.5 kB / 423.6 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2303, allocations: 3.047 kB / 423.6 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2303, allocations: 3.562 kB / 423.6 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.2303, allocations: 3.75 kB / 423.6 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.2304, allocations: 170.5 kB / 423.7 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2304, allocations: 0 / 423.7 MB, free: 55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.2304, allocations: 4 kB / 423.7 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2304, allocations: 0 / 423.7 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2304, allocations: 3.328 kB / 423.7 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2304, allocations: 3.656 kB / 423.7 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2304, allocations: 0 / 423.7 MB, free: 54.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2305, allocations: 176.9 kB / 423.9 MB, free: 54.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.2305, allocations: 26.03 kB / 423.9 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2305, allocations: 1.266 kB / 423.9 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.2305, allocations: 3.812 kB / 423.9 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.2306, allocations: 10.47 kB / 424 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.2306, allocations: 0 / 424 MB, free: 54.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.2306, allocations: 147.5 kB / 424.1 MB, free: 54.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2306, allocations: 0 / 424.1 MB, free: 54.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001696/0.2323, allocations: 1.107 MB / 425.2 MB, free: 54.76 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.002618/0.2349, allocations: 1.786 MB / 427 MB, free: 54.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2351, allocations: 104.7 kB / 427.1 MB, free: 54.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2351, allocations: 0 / 427.1 MB, free: 54.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.2351, allocations: 51.81 kB / 427.1 MB, free: 54.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2355, allocations: 162.6 kB / 427.3 MB, free: 54.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.2361, allocations: 267.9 kB / 427.6 MB, free: 54.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.911e-05/0.2362, allocations: 74.75 kB / 427.6 MB, free: 54.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.2362, allocations: 12.56 kB / 427.7 MB, free: 54.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.2362, allocations: 19.38 kB / 427.7 MB, free: 54.11 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2362, allocations: 0 / 427.7 MB, free: 54.11 MB / 330.7 MB Notification: Performance of Templates: time 0.03003/0.2662, allocations: 38.49 MB / 466.2 MB, free: 20.47 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.8568911128677428]