Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.001278/0.001278, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001338/0.001338, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.372/1.372, allocations: 177.1 MB / 202.8 MB, free: 9.137 MB / 190.1 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.04948/0.04948, allocations: 7.525 MB / 266.7 MB, free: 9.605 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.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 392.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.49e-05, allocations: 5.656 kB / 392.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02066/0.02069, allocations: 16.48 MB / 408.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.03872, allocations: 15.58 MB / 424.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.0389, allocations: 4 kB / 424.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.03963, allocations: 262.6 kB / 424.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.04017, allocations: 242.5 kB / 424.8 MB, free: 9.684 MB / 350.1 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.01771/0.05788, allocations: 7.746 MB / 432.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.05837, allocations: 369.9 kB / 432.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.05843, allocations: 12.59 kB / 432.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.05886, allocations: 227.3 kB / 433.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.05901, allocations: 75.83 kB / 433.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.05903, allocations: 4 kB / 433.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.07238, allocations: 7.604 MB / 440.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.07243, allocations: 27.84 kB / 440.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.07258, allocations: 67.84 kB / 440.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008478/0.08106, allocations: 4.59 MB / 445.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.08106, allocations: 0 / 445.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08106, allocations: 0 / 445.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.08107, allocations: 0 / 445.5 MB, free: 4.934 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002283/0.08335, allocations: 1.058 MB / 446.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.08338, allocations: 8.625 kB / 446.6 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.08355, allocations: 31.84 kB / 446.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.08376, allocations: 144.9 kB / 446.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.08378, allocations: 4 kB / 446.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.08379, allocations: 7.938 kB / 446.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.0842, allocations: 180.5 kB / 446.9 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.08421, allocations: 4 kB / 446.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.08422, allocations: 0 / 446.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.08424, allocations: 11.98 kB / 446.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.08471, allocations: 164.3 kB / 447.1 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.0853, allocations: 413 kB / 447.5 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.08564, allocations: 147 kB / 447.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.08593, allocations: 129.7 kB / 447.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2529/0.3388, allocations: 27.55 MB / 475.3 MB, free: 52.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3389, allocations: 34.56 kB / 475.4 MB, free: 52.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.405e-06/0.3389, allocations: 0 / 475.4 MB, free: 52.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.000921/0.3398, allocations: 490.1 kB / 475.8 MB, free: 52.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.3398, allocations: 56.16 kB / 475.9 MB, free: 52.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.3399, allocations: 138.8 kB / 476 MB, free: 51.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3399, allocations: 25.7 kB / 476 MB, free: 51.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.3399, allocations: 93.14 kB / 476.1 MB, free: 51.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.34, allocations: 155.5 kB / 476.3 MB, free: 51.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3401, allocations: 45.66 kB / 476.3 MB, free: 51.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.3401, allocations: 330.8 kB / 476.7 MB, free: 51.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3403, allocations: 125 kB / 476.8 MB, free: 51.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3405, allocations: 126.4 kB / 476.9 MB, free: 51.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.341, allocations: 292.5 kB / 477.2 MB, free: 50.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.341, allocations: 0 / 477.2 MB, free: 50.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005111/0.3415, allocations: 343 kB / 477.5 MB, free: 50.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3415, allocations: 8 kB / 477.5 MB, free: 50.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3415, allocations: 9 kB / 477.5 MB, free: 50.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3415, allocations: 0 / 477.5 MB, free: 50.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.3417, allocations: 23.97 kB / 477.6 MB, free: 50.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3417, allocations: 0 / 477.6 MB, free: 50.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3418, allocations: 32.34 kB / 477.6 MB, free: 50.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3418, allocations: 0 / 477.6 MB, free: 50.39 MB / 366.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: 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 (11): * Single equations (assignments): 5 * 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 8.106e-05/0.3419, allocations: 129.8 kB / 477.7 MB, free: 50.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.342, allocations: 15.91 kB / 477.7 MB, free: 50.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.3426, allocations: 421.3 kB / 478.1 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.3426, allocations: 7.984 kB / 478.2 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3426, allocations: 2.75 kB / 478.2 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3426, allocations: 0 / 478.2 MB, free: 49.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3428, allocations: 217 kB / 478.4 MB, free: 49.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3428, allocations: 4 kB / 478.4 MB, free: 49.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.3429, allocations: 23.16 kB / 478.4 MB, free: 49.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3429, allocations: 3.984 kB / 478.4 MB, free: 49.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3429, allocations: 4 kB / 478.4 MB, free: 49.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3429, allocations: 3.938 kB / 478.4 MB, free: 49.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3429, allocations: 0 / 478.4 MB, free: 49.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.3435, allocations: 461.1 kB / 478.9 MB, free: 49.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3435, allocations: 39.45 kB / 478.9 MB, free: 49.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3436, allocations: 2.531 kB / 478.9 MB, free: 49.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3437, allocations: 19.91 kB / 478.9 MB, free: 49.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3438, allocations: 11.98 kB / 478.9 MB, free: 49.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3438, allocations: 4 kB / 478.9 MB, free: 49.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.3438, allocations: 110.3 kB / 479 MB, free: 48.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3438, allocations: 0 / 479 MB, free: 48.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002021/0.3458, allocations: 1.138 MB / 480.2 MB, free: 47.93 MB / 366.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: 6 (state.phase,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 (11): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.003482/0.3493, allocations: 1.859 MB / 482 MB, free: 46.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.3499, allocations: 275.8 kB / 482.3 MB, free: 45.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3499, allocations: 0 / 482.3 MB, free: 45.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.3502, allocations: 140.4 kB / 482.4 MB, free: 45.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.3511, allocations: 153.6 kB / 482.6 MB, free: 45.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.3516, allocations: 393 kB / 483 MB, free: 45.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.3516, allocations: 125.2 kB / 483.1 MB, free: 45.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.3517, allocations: 16.06 kB / 483.1 MB, free: 45.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.3517, allocations: 24.44 kB / 483.1 MB, free: 45.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3517, allocations: 0 / 483.1 MB, free: 45.13 MB / 366.1 MB Notification: Performance of Templates: time 0.03337/0.3851, allocations: 31.28 MB / 0.5024 GB, free: 14.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.466506704688072] Failed to read output from testmodel.py, exit status != 0: 0.3929601088166237 0.401844587 0.318575244 Calling exit ...