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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04465/0.04465, allocations: 9.103 MB / 279.6 MB, free: 2.957 MB / 222.1 MB 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.001444/0.001444, allocations: 68.47 kB / 339.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 48.14 MB / 387.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01762/0.2489, allocations: 18.13 MB / 405.7 MB, free: 38.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2611, allocations: 17.53 MB / 423.3 MB, free: 23.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.2613, allocations: 8 kB / 423.3 MB, free: 23.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007689/0.2622, allocations: 293.7 kB / 423.6 MB, free: 23.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.2626, allocations: 226.6 kB / 423.8 MB, free: 23.23 MB / 318.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.017/0.2796, allocations: 7.322 MB / 431.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.28, allocations: 346.2 kB / 431.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.2801, allocations: 16.31 kB / 431.5 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.2804, allocations: 159.3 kB / 431.6 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.2805, allocations: 103.5 kB / 431.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2805, allocations: 8 kB / 431.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.2958, allocations: 10.62 MB / 442.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.2959, allocations: 27.84 kB / 442.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.2961, allocations: 91.55 kB / 442.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3073, allocations: 4.463 MB / 446.9 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3074, allocations: 0 / 446.9 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3074, allocations: 0 / 446.9 MB, free: 64 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3074, allocations: 4 kB / 446.9 MB, free: 60 kB / 318.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.002337/0.3097, allocations: 1.087 MB / 448 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3098, allocations: 12.03 kB / 448 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.3098, allocations: 19.72 kB / 448 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.31, allocations: 192.3 kB / 448.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.31, allocations: 4 kB / 448.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.31, allocations: 4 kB / 448.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.3104, allocations: 176.2 kB / 448.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3104, allocations: 0 / 448.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3104, allocations: 0 / 448.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3105, allocations: 11.92 kB / 448.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.3109, allocations: 156.3 kB / 448.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.3115, allocations: 489.2 kB / 449.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.3118, allocations: 170.9 kB / 449.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.3121, allocations: 153.7 kB / 449.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3187/0.6308, allocations: 93.61 MB / 0.5303 GB, free: 128.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.6309, allocations: 35.45 kB / 0.5303 GB, free: 128.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.6309, allocations: 0 / 0.5303 GB, free: 128.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001165/0.6321, allocations: 469.8 kB / 0.5307 GB, free: 128.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.6321, allocations: 53.22 kB / 0.5308 GB, free: 128.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.6322, allocations: 145.2 kB / 0.5309 GB, free: 128.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.6322, allocations: 25.7 kB / 0.531 GB, free: 128.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.6323, allocations: 90.89 kB / 0.531 GB, free: 128.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/0.6324, allocations: 147.6 kB / 0.5312 GB, free: 128.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.6324, allocations: 47.81 kB / 0.5312 GB, free: 128.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.6325, allocations: 334.9 kB / 0.5315 GB, free: 128 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.6328, allocations: 119.4 kB / 0.5317 GB, free: 128 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.633, allocations: 114.6 kB / 0.5318 GB, free: 127.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.6336, allocations: 285.5 kB / 0.532 GB, free: 127.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6336, allocations: 0.6562 kB / 0.532 GB, free: 127.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005832/0.6342, allocations: 325.4 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6342, allocations: 6.031 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6342, allocations: 4.438 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6342, allocations: 3.781 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.6344, allocations: 20 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.6344, allocations: 3.25 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.6345, allocations: 32.47 kB / 0.5324 GB, free: 127.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.6346, allocations: 2.953 kB / 0.5324 GB, free: 127.7 MB / 414.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.252e-05/0.6346, allocations: 128.5 kB / 0.5325 GB, free: 127.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.6347, allocations: 20.03 kB / 0.5326 GB, free: 127.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.6355, allocations: 407.7 kB / 0.533 GB, free: 127.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.6355, allocations: 11.12 kB / 0.533 GB, free: 127.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6355, allocations: 0 / 0.533 GB, free: 127.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6355, allocations: 4.781 kB / 0.533 GB, free: 127.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.6358, allocations: 285.8 kB / 0.5332 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6358, allocations: 5.469 kB / 0.5332 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.6359, allocations: 22.61 kB / 0.5333 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6359, allocations: 0.6094 kB / 0.5333 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6359, allocations: 7.266 kB / 0.5333 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.636, allocations: 0.7031 kB / 0.5333 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.636, allocations: 0 / 0.5333 GB, free: 127.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.6365, allocations: 436.8 kB / 0.5337 GB, free: 126.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.6366, allocations: 116.7 kB / 0.5338 GB, free: 126.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.6366, allocations: 4.516 kB / 0.5338 GB, free: 126.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.6368, allocations: 21.14 kB / 0.5338 GB, free: 126.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.6369, allocations: 13.72 kB / 0.5338 GB, free: 126.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6369, allocations: 3.578 kB / 0.5338 GB, free: 126.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.6369, allocations: 115.7 kB / 0.534 GB, free: 126.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.637, allocations: 0 / 0.534 GB, free: 126.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002792/0.6397, allocations: 1.116 MB / 0.535 GB, free: 126.6 MB / 414.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.003834/0.6436, allocations: 1.675 MB / 0.5367 GB, free: 126.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006259/0.6442, allocations: 295.9 kB / 0.537 GB, free: 126.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6442, allocations: 0 / 0.537 GB, free: 126.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.6445, allocations: 156.5 kB / 0.5371 GB, free: 126.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.6454, allocations: 164.3 kB / 0.5373 GB, free: 126 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.646, allocations: 394.6 kB / 0.5376 GB, free: 125.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6462, allocations: 0.7316 MB / 0.5384 GB, free: 125.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.559e-05/0.6463, allocations: 17.66 kB / 0.5384 GB, free: 125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.6463, allocations: 17.84 kB / 0.5384 GB, free: 125 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6464, allocations: 0 / 0.5384 GB, free: 125 MB / 414.1 MB Notification: Performance of Templates: time 0.0353/0.6817, allocations: 30.74 MB / 0.5684 GB, free: 96.67 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (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 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)