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.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04704/0.04704, allocations: 9.097 MB / 278.9 MB, free: 12.18 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.001405/0.001405, allocations: 71.88 kB / 338.1 MB, free: 25.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07331/0.07473, allocations: 48.16 MB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01897/0.09374, allocations: 18.14 MB / 404.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.1099, allocations: 17.52 MB / 422 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.11, allocations: 0 / 422 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.1108, allocations: 294.5 kB / 422.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.1113, allocations: 230.5 kB / 422.5 MB, free: 4.824 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.1634/0.2746, allocations: 7.29 MB / 429.8 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.2751, allocations: 353.3 kB / 430.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.2752, allocations: 15.67 kB / 430.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.2755, allocations: 154.7 kB / 430.3 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2756, allocations: 97.12 kB / 430.4 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2757, allocations: 6.375 kB / 430.4 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/0.2958, allocations: 10.12 MB / 440.5 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.2959, allocations: 22.22 kB / 440.5 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.2963, allocations: 100.8 kB / 440.6 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.3095, allocations: 4.462 MB / 445.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3095, allocations: 0 / 445.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3095, allocations: 0 / 445.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3095, allocations: 4 kB / 445.1 MB, free: 15.69 MB / 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.00341/0.313, allocations: 1.096 MB / 446.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.313, allocations: 8.219 kB / 446.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3131, allocations: 49.39 kB / 446.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.3131, allocations: 17.28 kB / 446.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3133, allocations: 195.7 kB / 446.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3133, allocations: 5.062 kB / 446.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.3133, allocations: 9.984 kB / 446.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.3138, allocations: 169.3 kB / 446.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3138, allocations: 0 / 446.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3138, allocations: 1.375 kB / 446.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3138, allocations: 10.36 kB / 446.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.3143, allocations: 158.2 kB / 446.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006404/0.3149, allocations: 482.9 kB / 447.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.3153, allocations: 164.1 kB / 447.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.3156, allocations: 158.8 kB / 447.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/0.4722, allocations: 93.62 MB / 0.5285 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.4723, allocations: 38.39 kB / 0.5286 GB, free: 5.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.4723, allocations: 0 / 0.5286 GB, free: 5.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001257/0.4735, allocations: 467.6 kB / 0.529 GB, free: 4.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4736, allocations: 52.72 kB / 0.529 GB, free: 4.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4738, allocations: 137.8 kB / 0.5292 GB, free: 4.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4738, allocations: 32.33 kB / 0.5292 GB, free: 4.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.4739, allocations: 97.12 kB / 0.5293 GB, free: 4.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.474, allocations: 142.7 kB / 0.5294 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.4741, allocations: 49.59 kB / 0.5295 GB, free: 4.121 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4743, allocations: 330.8 kB / 0.5298 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.4745, allocations: 116.4 kB / 0.5299 GB, free: 3.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.4748, allocations: 118.1 kB / 0.53 GB, free: 3.559 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.4753, allocations: 291.2 kB / 0.5303 GB, free: 3.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4754, allocations: 0 / 0.5303 GB, free: 3.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006507/0.476, allocations: 328 kB / 0.5306 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.476, allocations: 8 kB / 0.5306 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4761, allocations: 0 / 0.5306 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4761, allocations: 1.219 kB / 0.5306 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4763, allocations: 23.97 kB / 0.5306 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4763, allocations: 0 / 0.5306 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4765, allocations: 36.88 kB / 0.5307 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.4765, allocations: 7.922 kB / 0.5307 GB, free: 2.883 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 0.0001149/0.4766, allocations: 129.8 kB / 0.5308 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.4767, allocations: 19.72 kB / 0.5308 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.4775, allocations: 401 kB / 0.5312 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.4775, allocations: 16.34 kB / 0.5312 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4776, allocations: 0 / 0.5312 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4776, allocations: 5.875 kB / 0.5312 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.4779, allocations: 290 kB / 0.5315 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.478, allocations: 4 kB / 0.5315 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.4781, allocations: 21.16 kB / 0.5315 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4781, allocations: 0 / 0.5315 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4781, allocations: 8 kB / 0.5315 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4781, allocations: 0 / 0.5315 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4781, allocations: 0 / 0.5315 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.4788, allocations: 447.5 kB / 0.532 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.479, allocations: 109.8 kB / 0.5321 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.479, allocations: 4 kB / 0.5321 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4792, allocations: 11.98 kB / 0.5321 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.4793, allocations: 23.3 kB / 0.5321 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4793, allocations: 1.203 kB / 0.5321 GB, free: 1.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.575e-05/0.4794, allocations: 111.2 kB / 0.5322 GB, free: 1.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4794, allocations: 0 / 0.5322 GB, free: 1.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004121/0.4835, allocations: 1.121 MB / 0.5333 GB, free: 124 kB / 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.008421/0.492, allocations: 2.542 MB / 0.5358 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.4928, allocations: 303.8 kB / 0.5361 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4928, allocations: 0 / 0.5361 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.4931, allocations: 156.4 kB / 0.5362 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4942, allocations: 161.6 kB / 0.5364 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.4977, allocations: 0.8999 MB / 0.5373 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.4983, allocations: 0.7405 MB / 0.538 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.4985, allocations: 17.11 kB / 0.538 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4986, allocations: 47.42 kB / 0.5381 GB, free: 11.38 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4986, allocations: 0 / 0.5381 GB, free: 11.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07891/0.5775, allocations: 33.5 MB / 0.5708 GB, free: 9.941 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.223/9.801, allocations: 7.875 kB / 0.5708 GB, free: 9.934 MB / 462.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)