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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 207.6 MB / 231.4 MB, free: 3.168 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05098/0.05098, allocations: 9.163 MB / 292.6 MB, free: 6.059 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 75.89 kB / 409.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.292, allocations: 50.72 MB / 459.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02282/0.3148, allocations: 18.23 MB / 478.1 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.3358, allocations: 17.58 MB / 495.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.3361, allocations: 4 kB / 495.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3372, allocations: 326.5 kB / 496 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008942/0.3381, allocations: 250.6 kB / 496.2 MB, free: 2.77 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.02278/0.3609, allocations: 7.693 MB / 0.4921 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.3615, allocations: 350.2 kB / 0.4924 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.3615, allocations: 12.31 kB / 0.4924 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.3618, allocations: 159.3 kB / 0.4926 GB, free: 10.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.362, allocations: 103.5 kB / 0.4927 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.362, allocations: 4 kB / 0.4927 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02107/0.3831, allocations: 10.79 MB / 0.5032 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.3831, allocations: 27.73 kB / 0.5033 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.3833, allocations: 99.48 kB / 0.5034 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.3979, allocations: 4.477 MB / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3979, allocations: 0 / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3979, allocations: 0 / 0.5077 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3979, allocations: 0 / 0.5077 GB, free: 11.02 MB / 382.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.003256/0.4011, allocations: 1.122 MB / 0.5088 GB, free: 9.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.4012, allocations: 12.03 kB / 0.5088 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.4013, allocations: 19.86 kB / 0.5089 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4015, allocations: 198.7 kB / 0.509 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4015, allocations: 4 kB / 0.5091 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4015, allocations: 4 kB / 0.5091 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.402, allocations: 168.2 kB / 0.5092 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.402, allocations: 4 kB / 0.5092 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.402, allocations: 7.938 kB / 0.5092 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.402, allocations: 7.984 kB / 0.5092 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.4024, allocations: 156.3 kB / 0.5094 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.4032, allocations: 489.2 kB / 0.5099 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.4035, allocations: 138.9 kB / 0.51 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.4038, allocations: 121.7 kB / 0.5101 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1709/0.5747, allocations: 93.64 MB / 0.6015 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.5747, allocations: 30.56 kB / 0.6016 GB, free: 10.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/0.5747, allocations: 0 / 0.6016 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.001355/0.5761, allocations: 471.7 kB / 0.602 GB, free: 9.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.5762, allocations: 55.41 kB / 0.6021 GB, free: 9.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.5764, allocations: 134.1 kB / 0.6022 GB, free: 9.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.5764, allocations: 33.7 kB / 0.6022 GB, free: 9.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.5766, allocations: 89.09 kB / 0.6023 GB, free: 9.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.5768, allocations: 154.6 kB / 0.6025 GB, free: 9.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.5769, allocations: 49.69 kB / 0.6025 GB, free: 9.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5771, allocations: 334.8 kB / 0.6028 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5773, allocations: 112.4 kB / 0.6029 GB, free: 8.887 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.5776, allocations: 122 kB / 0.6031 GB, free: 8.766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.5781, allocations: 287.7 kB / 0.6033 GB, free: 8.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5781, allocations: 0 / 0.6033 GB, free: 8.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006133/0.5787, allocations: 329.2 kB / 0.6036 GB, free: 8.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5787, allocations: 4 kB / 0.6037 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5788, allocations: 0 / 0.6037 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.5788, allocations: 0 / 0.6037 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.5789, allocations: 27.97 kB / 0.6037 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5789, allocations: 0 / 0.6037 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5791, allocations: 35.81 kB / 0.6037 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.5791, allocations: 7.938 kB / 0.6037 GB, free: 8.082 MB / 494.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 0.0001279/0.5792, allocations: 121.8 kB / 0.6038 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.5793, allocations: 23.86 kB / 0.6039 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.5801, allocations: 399.9 kB / 0.6042 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.5801, allocations: 11.98 kB / 0.6043 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5801, allocations: 0 / 0.6043 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5801, allocations: 0 / 0.6043 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.5806, allocations: 289.7 kB / 0.6045 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5806, allocations: 4 kB / 0.6045 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.5807, allocations: 27.91 kB / 0.6046 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5807, allocations: 0 / 0.6046 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.5807, allocations: 4 kB / 0.6046 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5807, allocations: 3.984 kB / 0.6046 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5807, allocations: 4 kB / 0.6046 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.5814, allocations: 435.9 kB / 0.605 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5815, allocations: 120.8 kB / 0.6051 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.5815, allocations: 4 kB / 0.6051 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.5817, allocations: 11.98 kB / 0.6051 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.5818, allocations: 11.98 kB / 0.6051 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.5818, allocations: 11.98 kB / 0.6051 GB, free: 6.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.5819, allocations: 102.5 kB / 0.6052 GB, free: 6.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5819, allocations: 4 kB / 0.6052 GB, free: 6.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003823/0.5857, allocations: 1.137 MB / 0.6064 GB, free: 5.281 MB / 494.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.0069/0.5926, allocations: 1.698 MB / 0.608 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.5936, allocations: 271.2 kB / 0.6083 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5936, allocations: 0 / 0.6083 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.5939, allocations: 132.4 kB / 0.6084 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/0.5949, allocations: 160.3 kB / 0.6085 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.5957, allocations: 399.1 kB / 0.6089 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5961, allocations: 0.7367 MB / 0.6096 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.5962, allocations: 12 kB / 0.6097 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.5963, allocations: 15.44 kB / 0.6097 GB, free: 1.805 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5963, allocations: 0 / 0.6097 GB, free: 1.805 MB / 494.1 MB Notification: Performance of Templates: time 0.3066/0.9029, allocations: 30.93 MB / 0.6399 GB, free: 149.8 MB / 494.1 MB " [Timeout remaining time 659] 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: 6.8709401693195105]