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.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.001296/0.001296, allocations: 110.5 kB / 17.6 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.001371/0.001371, allocations: 186.7 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.617/1.617, allocations: 207.6 MB / 231.4 MB, free: 3.402 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.05038/0.05038, allocations: 9.155 MB / 292.6 MB, free: 6.215 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_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: 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.002536/0.002536, allocations: 74.08 kB / 409.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3693, allocations: 50.71 MB / 459.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02695/0.3963, allocations: 18.24 MB / 478.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.4174, allocations: 17.58 MB / 495.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.4178, allocations: 4 kB / 495.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4189, allocations: 334.5 kB / 496 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.4197, allocations: 238.6 kB / 496.2 MB, free: 2.805 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.02511/0.4448, allocations: 7.696 MB / 0.4921 GB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.4455, allocations: 350.2 kB / 0.4924 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.4456, allocations: 12.31 kB / 0.4924 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.4459, allocations: 155.3 kB / 0.4926 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.4461, allocations: 103.5 kB / 0.4927 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4461, allocations: 4 kB / 0.4927 GB, free: 10.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02369/0.4698, allocations: 10.8 MB / 0.5032 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.4699, allocations: 23.84 kB / 0.5033 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.4702, allocations: 103.5 kB / 0.5034 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01958/0.4898, allocations: 4.462 MB / 0.5077 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4898, allocations: 4 kB / 0.5077 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4898, allocations: 0 / 0.5077 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.4898, allocations: 0 / 0.5077 GB, free: 11.05 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.004115/0.4939, allocations: 1.13 MB / 0.5088 GB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.494, allocations: 12.03 kB / 0.5088 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.4941, allocations: 19.86 kB / 0.5089 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4943, allocations: 190.7 kB / 0.509 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4943, allocations: 4 kB / 0.509 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.4944, allocations: 4 kB / 0.509 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.4948, allocations: 164.2 kB / 0.5092 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4948, allocations: 7.938 kB / 0.5092 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.4948, allocations: 11.88 kB / 0.5092 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.4949, allocations: 3.984 kB / 0.5092 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.4953, allocations: 164.2 kB / 0.5094 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4957, allocations: 302 kB / 0.5097 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4961, allocations: 146.9 kB / 0.5098 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.4964, allocations: 129.7 kB / 0.5099 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1757/0.6721, allocations: 93.62 MB / 0.6014 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.6721, allocations: 34.5 kB / 0.6014 GB, free: 10.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.6721, allocations: 0 / 0.6014 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.001143/0.6733, allocations: 483.7 kB / 0.6019 GB, free: 10.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6733, allocations: 55.41 kB / 0.6019 GB, free: 10.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.6735, allocations: 137.4 kB / 0.602 GB, free: 9.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.6735, allocations: 33.7 kB / 0.6021 GB, free: 9.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.6736, allocations: 89.14 kB / 0.6022 GB, free: 9.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.6737, allocations: 158.5 kB / 0.6023 GB, free: 9.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.6738, allocations: 49.69 kB / 0.6024 GB, free: 9.527 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.674, allocations: 330.8 kB / 0.6027 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.6743, allocations: 116.4 kB / 0.6028 GB, free: 9.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.6745, allocations: 122.1 kB / 0.6029 GB, free: 8.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.6751, allocations: 283.6 kB / 0.6032 GB, free: 8.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6751, allocations: 0 / 0.6032 GB, free: 8.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006487/0.6757, allocations: 345.2 kB / 0.6035 GB, free: 8.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6757, allocations: 4 kB / 0.6035 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.6758, allocations: 0 / 0.6035 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6758, allocations: 3.938 kB / 0.6035 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.6759, allocations: 23.97 kB / 0.6035 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6759, allocations: 0 / 0.6035 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.6761, allocations: 31.83 kB / 0.6036 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.6761, allocations: 4 kB / 0.6036 GB, free: 8.273 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 (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 0.0001313/0.6763, allocations: 129.8 kB / 0.6037 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.6763, allocations: 23.8 kB / 0.6037 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008297/0.6771, allocations: 407.9 kB / 0.6041 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.6771, allocations: 11.98 kB / 0.6041 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6771, allocations: 0 / 0.6041 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6771, allocations: 0 / 0.6041 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.6775, allocations: 297.6 kB / 0.6044 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6775, allocations: 3.938 kB / 0.6044 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6776, allocations: 23.97 kB / 0.6044 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6776, allocations: 0 / 0.6044 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6777, allocations: 8 kB / 0.6044 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.6777, allocations: 3.938 kB / 0.6044 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6777, allocations: 0 / 0.6044 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.6783, allocations: 377.5 kB / 0.6048 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6785, allocations: 124.8 kB / 0.6049 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.6785, allocations: 4 kB / 0.6049 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6786, allocations: 11.98 kB / 0.6049 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.6787, allocations: 15.97 kB / 0.6049 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6787, allocations: 4 kB / 0.6049 GB, free: 6.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.6788, allocations: 103.3 kB / 0.605 GB, free: 6.648 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6788, allocations: 0 / 0.605 GB, free: 6.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003455/0.6822, allocations: 1.141 MB / 0.6062 GB, free: 5.504 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 (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.004937/0.6872, allocations: 1.687 MB / 0.6078 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.6879, allocations: 279.2 kB / 0.6081 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6879, allocations: 0 / 0.6081 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.6882, allocations: 132.4 kB / 0.6082 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.6891, allocations: 159.2 kB / 0.6083 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.69, allocations: 439 kB / 0.6088 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.6904, allocations: 0.7329 MB / 0.6095 GB, free: 2.031 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.6905, allocations: 12.42 kB / 0.6095 GB, free: 2.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.6906, allocations: 19.44 kB / 0.6095 GB, free: 2 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6906, allocations: 4 kB / 0.6095 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Templates: time 0.2533/0.9439, allocations: 30.94 MB / 0.6397 GB, free: 150 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.214317368343472]