Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.001785/0.001785, allocations: 85.48 kB / 19.44 MB, free: 344 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.002139/0.002139, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.06036/0.06036, allocations: 7.502 MB / 267.1 MB, free: 6.039 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.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.467e-05, allocations: 2.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0189/0.01892, allocations: 18.21 MB / 356.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.04296, allocations: 17.68 MB / 373.8 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.04318, allocations: 4 kB / 373.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.04404, allocations: 270.6 kB / 374.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.04469, allocations: 234.5 kB / 374.3 MB, free: 6.836 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.02112/0.06581, allocations: 7.734 MB / 382 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.06636, allocations: 373.9 kB / 382.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.06641, allocations: 8.594 kB / 382.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.06689, allocations: 227.3 kB / 382.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.06705, allocations: 83.77 kB / 382.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.06707, allocations: 4 kB / 382.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01594/0.08301, allocations: 7.592 MB / 390.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.08307, allocations: 27.84 kB / 390.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.08327, allocations: 67.86 kB / 390.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.09518, allocations: 4.598 MB / 395 MB, free: 2.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.09519, allocations: 4 kB / 395 MB, free: 2.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09519, allocations: 4 kB / 395 MB, free: 2.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.0952, allocations: 0 / 395 MB, free: 2.059 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002941/0.09814, allocations: 1.146 MB / 396.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.09818, allocations: 12.62 kB / 396.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.09836, allocations: 35.78 kB / 396.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.09861, allocations: 151.8 kB / 396.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.09862, allocations: 0 / 396.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.09864, allocations: 15.94 kB / 396.4 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.09894, allocations: 112.6 kB / 396.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.09895, allocations: 0 / 396.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.09896, allocations: 0 / 396.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.09898, allocations: 11.98 kB / 396.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.09928, allocations: 80.45 kB / 396.6 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.09958, allocations: 201.2 kB / 396.7 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.09984, allocations: 107.5 kB / 396.9 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1001, allocations: 80.7 kB / 396.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.234/0.3341, allocations: 26.34 MB / 423.3 MB, free: 80.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3341, allocations: 37.39 kB / 423.3 MB, free: 80.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.3341, allocations: 0 / 423.3 MB, free: 80.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006967/0.3348, allocations: 327.9 kB / 423.6 MB, free: 80.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.3348, allocations: 52.34 kB / 423.7 MB, free: 80.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.3349, allocations: 209.9 kB / 423.9 MB, free: 79.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3349, allocations: 29.31 kB / 423.9 MB, free: 79.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.3349, allocations: 139.9 kB / 424 MB, free: 79.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.335, allocations: 160.4 kB / 424.2 MB, free: 79.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.3351, allocations: 59.36 kB / 424.3 MB, free: 79.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.3352, allocations: 0.5108 MB / 424.8 MB, free: 78.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3353, allocations: 60.47 kB / 424.8 MB, free: 78.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3354, allocations: 62.47 kB / 424.9 MB, free: 78.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.3357, allocations: 179.6 kB / 425.1 MB, free: 78.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3357, allocations: 0 / 425.1 MB, free: 78.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003619/0.3361, allocations: 240.1 kB / 425.3 MB, free: 78.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3361, allocations: 4 kB / 425.3 MB, free: 78.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3361, allocations: 0 / 425.3 MB, free: 78.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3361, allocations: 3.75 kB / 425.3 MB, free: 78.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3362, allocations: 15.98 kB / 425.3 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3362, allocations: 4 kB / 425.3 MB, free: 78.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3364, allocations: 28.53 kB / 425.4 MB, free: 78.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3364, allocations: 4 kB / 425.4 MB, free: 78.33 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 (12): * Single equations (assignments): 6 * 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.509e-05/0.3365, allocations: 172.4 kB / 425.5 MB, free: 78.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3365, allocations: 23.86 kB / 425.6 MB, free: 78.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.337, allocations: 305.1 kB / 425.9 MB, free: 77.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.337, allocations: 11.98 kB / 425.9 MB, free: 77.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.337, allocations: 0 / 425.9 MB, free: 77.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.337, allocations: 3.984 kB / 425.9 MB, free: 77.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3372, allocations: 200.9 kB / 426.1 MB, free: 77.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3372, allocations: 4 kB / 426.1 MB, free: 77.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.3373, allocations: 15.98 kB / 426.1 MB, free: 77.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3373, allocations: 0 / 426.1 MB, free: 77.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3373, allocations: 11.98 kB / 426.1 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3373, allocations: 0 / 426.1 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3373, allocations: 0 / 426.1 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.3377, allocations: 292.1 kB / 426.4 MB, free: 77.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3377, allocations: 43.56 kB / 426.4 MB, free: 77.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3377, allocations: 7.25 kB / 426.4 MB, free: 77.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.3378, allocations: 15.98 kB / 426.4 MB, free: 77.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.3379, allocations: 7.984 kB / 426.5 MB, free: 77.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3379, allocations: 8 kB / 426.5 MB, free: 77.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.338, allocations: 154.8 kB / 426.6 MB, free: 77.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.338, allocations: 0 / 426.6 MB, free: 77.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002095/0.34, allocations: 1.141 MB / 427.8 MB, free: 76.03 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: 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 (12): * Single equations (assignments): 6 * 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.003673/0.3437, allocations: 1.841 MB / 429.6 MB, free: 74.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.3442, allocations: 183.9 kB / 429.8 MB, free: 74.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3442, allocations: 0 / 429.8 MB, free: 74.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3444, allocations: 113.7 kB / 429.9 MB, free: 74.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008842/0.3452, allocations: 167.4 kB / 430.1 MB, free: 73.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.3459, allocations: 371.1 kB / 430.4 MB, free: 73.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.3459, allocations: 125.2 kB / 430.5 MB, free: 73.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.157e-05/0.346, allocations: 9.391 kB / 430.5 MB, free: 73.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.346, allocations: 24.5 kB / 430.6 MB, free: 73.35 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.346, allocations: 4 kB / 430.6 MB, free: 73.35 MB / 330.7 MB Notification: Performance of Templates: time 0.03402/0.3801, allocations: 31.5 MB / 462.1 MB, free: 42.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1569031570106745]