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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004975/0.004975, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001362/0.001362, allocations: 193.8 kB / 16.67 MB, free: 6.355 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.452/1.452, allocations: 205.1 MB / 222.6 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05057/0.05057, allocations: 9.105 MB / 279 MB, free: 12.09 MB / 238.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.002171/0.002171, allocations: 74.39 kB / 387 MB, free: 8.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2478, allocations: 48.16 MB / 435.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02018/0.268, allocations: 18.12 MB / 453.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0185/0.2866, allocations: 17.53 MB / 470.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.2868, allocations: 1.156 kB / 470.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.2877, allocations: 301.3 kB / 471.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2882, allocations: 225.8 kB / 471.3 MB, free: 11.11 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.0185/0.3067, allocations: 7.308 MB / 478.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.3073, allocations: 350.2 kB / 478.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.3073, allocations: 20.3 kB / 479 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.3076, allocations: 151.4 kB / 479.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3078, allocations: 103.5 kB / 479.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3078, allocations: 8 kB / 479.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.3267, allocations: 10.62 MB / 489.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.3268, allocations: 27.84 kB / 489.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.327, allocations: 95.55 kB / 490 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.339, allocations: 4.469 MB / 494.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.3391, allocations: 4 kB / 494.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3391, allocations: 0 / 494.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3391, allocations: 0 / 494.4 MB, free: 5.348 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.002639/0.3417, allocations: 1.122 MB / 495.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3418, allocations: 8.031 kB / 495.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.3419, allocations: 50.55 kB / 495.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.3419, allocations: 23.86 kB / 495.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3421, allocations: 198.7 kB / 495.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3421, allocations: 8 kB / 495.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3421, allocations: 7.938 kB / 495.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.3426, allocations: 168.2 kB / 496 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3426, allocations: 3.938 kB / 496 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3426, allocations: 0 / 496 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.3426, allocations: 19.97 kB / 496 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.3431, allocations: 156.3 kB / 496.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.3437, allocations: 485.2 kB / 496.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.3441, allocations: 174.9 kB / 496.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.3444, allocations: 145.7 kB / 497 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1578/0.5022, allocations: 93.62 MB / 0.5768 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.5022, allocations: 38.55 kB / 0.5768 GB, free: 4.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.5023, allocations: 0 / 0.5768 GB, free: 4.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.001119/0.5034, allocations: 467.7 kB / 0.5772 GB, free: 4.098 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5034, allocations: 55.41 kB / 0.5773 GB, free: 4.031 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5036, allocations: 138 kB / 0.5774 GB, free: 3.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.5036, allocations: 29.7 kB / 0.5774 GB, free: 3.852 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.5037, allocations: 97.08 kB / 0.5775 GB, free: 3.754 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.5038, allocations: 150.6 kB / 0.5777 GB, free: 3.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.5039, allocations: 41.7 kB / 0.5777 GB, free: 3.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.5041, allocations: 334.8 kB / 0.578 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.5044, allocations: 120.4 kB / 0.5782 GB, free: 3.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.5047, allocations: 122 kB / 0.5783 GB, free: 2.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.5052, allocations: 283.6 kB / 0.5785 GB, free: 2.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5052, allocations: 0 / 0.5785 GB, free: 2.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006812/0.5059, allocations: 333.2 kB / 0.5789 GB, free: 2.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.506, allocations: 4 kB / 0.5789 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.506, allocations: 3.984 kB / 0.5789 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.506, allocations: 0 / 0.5789 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5062, allocations: 27.91 kB / 0.5789 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.5062, allocations: 0 / 0.5789 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.5063, allocations: 39.77 kB / 0.5789 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5064, allocations: 4 kB / 0.5789 GB, free: 2.297 MB / 478.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.0001406/0.5065, allocations: 137.6 kB / 0.5791 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.5066, allocations: 19.86 kB / 0.5791 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.5075, allocations: 400 kB / 0.5795 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.5075, allocations: 15.97 kB / 0.5795 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5076, allocations: 0 / 0.5795 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5076, allocations: 3.938 kB / 0.5795 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.5079, allocations: 289.7 kB / 0.5798 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5079, allocations: 0 / 0.5798 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.5081, allocations: 23.97 kB / 0.5798 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5081, allocations: 4 kB / 0.5798 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5081, allocations: 4 kB / 0.5798 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5081, allocations: 0 / 0.5798 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5081, allocations: 4 kB / 0.5798 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.5089, allocations: 443.9 kB / 0.5802 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.509, allocations: 112.9 kB / 0.5803 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.509, allocations: 8 kB / 0.5803 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.5092, allocations: 11.98 kB / 0.5804 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.5093, allocations: 15.92 kB / 0.5804 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5093, allocations: 4 kB / 0.5804 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.441e-05/0.5094, allocations: 107 kB / 0.5805 GB, free: 0.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5094, allocations: 4 kB / 0.5805 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002737/0.5121, allocations: 1.141 MB / 0.5816 GB, free: 15.47 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.005916/0.518, allocations: 2.556 MB / 0.5841 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007259/0.5188, allocations: 295.3 kB / 0.5844 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5188, allocations: 0 / 0.5844 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.5192, allocations: 164.3 kB / 0.5845 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009918/0.5202, allocations: 156.4 kB / 0.5847 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.5223, allocations: 0.9151 MB / 0.5856 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.5227, allocations: 0.7328 MB / 0.5863 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.886e-05/0.5228, allocations: 15.98 kB / 0.5863 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.5229, allocations: 55.41 kB / 0.5864 GB, free: 10.49 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5229, allocations: 4 kB / 0.5864 GB, free: 10.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2374/0.7602, allocations: 33.55 MB / 0.6191 GB, free: 161.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.89, allocations: 16.89 kB / 0.6191 GB, free: 161.5 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)