Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",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.004904/0.004904, allocations: 105.9 kB / 15.74 MB, free: 5.996 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.001145/0.001145, allocations: 197 kB / 16.67 MB, free: 5.918 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.36/1.36, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0461/0.0461, allocations: 9.091 MB / 279 MB, free: 12.07 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.001771/0.001771, allocations: 70.97 kB / 386.9 MB, free: 8.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3336, allocations: 48.15 MB / 435.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.0213/0.3549, allocations: 16.9 MB / 452 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.3693, allocations: 10.46 MB / 462.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.3694, allocations: 1.531 kB / 462.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.3703, allocations: 267.8 kB / 462.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.3705, allocations: 26.08 kB / 462.7 MB, free: 2.137 MB / 334.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: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.01998/0.3905, allocations: 5.745 MB / 468.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3906, allocations: 52.66 kB / 468.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.3907, allocations: 6.75 kB / 468.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3908, allocations: 27.8 kB / 468.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.3909, allocations: 14.91 kB / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.3909, allocations: 0 / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.41, allocations: 8.756 MB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.41, allocations: 3.938 kB / 477.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.4101, allocations: 11.94 kB / 477.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4216, allocations: 3.617 MB / 481 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4217, allocations: 0 / 481 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4217, allocations: 0 / 481 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4217, allocations: 0 / 481 MB, free: 2.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002291/0.424, allocations: 0.7488 MB / 481.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.4241, allocations: 12.03 kB / 481.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.4241, allocations: 34.55 kB / 481.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.4242, allocations: 7.844 kB / 481.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4243, allocations: 167 kB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4244, allocations: 4 kB / 482 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4244, allocations: 0 / 482 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4245, allocations: 45.62 kB / 482 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4245, allocations: 0 / 482 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4245, allocations: 0 / 482 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.4246, allocations: 7.984 kB / 482 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.4246, allocations: 15.88 kB / 482 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.4249, allocations: 165.6 kB / 482.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.4249, allocations: 38.56 kB / 482.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.425, allocations: 20.89 kB / 482.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05938/0.4844, allocations: 33.03 MB / 0.5032 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4844, allocations: 38.56 kB / 0.5032 GB, free: 10.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.4845, allocations: 0 / 0.5032 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002555/0.4847, allocations: 77.62 kB / 0.5033 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4848, allocations: 55.39 kB / 0.5034 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.4849, allocations: 89.86 kB / 0.5034 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4849, allocations: 33.7 kB / 0.5035 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.4849, allocations: 80.14 kB / 0.5035 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.485, allocations: 15.88 kB / 0.5036 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.485, allocations: 21.7 kB / 0.5036 GB, free: 10.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4851, allocations: 310.8 kB / 0.5039 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.4852, allocations: 15.94 kB / 0.5039 GB, free: 9.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.4852, allocations: 15.97 kB / 0.5039 GB, free: 9.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.4852, allocations: 32.86 kB / 0.5039 GB, free: 9.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4853, allocations: 3.984 kB / 0.5039 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.926e-05/0.4854, allocations: 57.61 kB / 0.504 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4854, allocations: 11.98 kB / 0.504 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4854, allocations: 4 kB / 0.504 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4854, allocations: 0 / 0.504 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.4854, allocations: 0 / 0.504 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4854, allocations: 4 kB / 0.504 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.4855, allocations: 7.938 kB / 0.504 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4855, allocations: 0 / 0.504 GB, free: 9.648 MB / 398.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.724e-05/0.4856, allocations: 109.8 kB / 0.5041 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.4856, allocations: 7.938 kB / 0.5041 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.4858, allocations: 170.8 kB / 0.5043 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/0.4859, allocations: 184.2 kB / 0.5045 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-05/0.486, allocations: 180.2 kB / 0.5046 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.562e-05/0.486, allocations: 180.3 kB / 0.5048 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4864, allocations: 413.1 kB / 0.5052 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001092/0.4865, allocations: 117 kB / 0.5053 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.4866, allocations: 108.9 kB / 0.5054 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-05/0.4866, allocations: 180.2 kB / 0.5056 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.4867, allocations: 176.3 kB / 0.5058 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.085e-05/0.4868, allocations: 184.2 kB / 0.5059 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.708e-05/0.4869, allocations: 180.2 kB / 0.5061 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.487, allocations: 307.8 kB / 0.5064 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.4871, allocations: 178.1 kB / 0.5066 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.4872, allocations: 192.1 kB / 0.5068 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4874, allocations: 101 kB / 0.5069 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.4875, allocations: 188.2 kB / 0.507 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.4876, allocations: 105.3 kB / 0.5071 GB, free: 6.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.4876, allocations: 99.27 kB / 0.5072 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4876, allocations: 0 / 0.5072 GB, free: 6.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002521/0.4902, allocations: 0.8588 MB / 0.5081 GB, free: 5.262 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.005071/0.4953, allocations: 2.058 MB / 0.5101 GB, free: 3.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.4954, allocations: 23.94 kB / 0.5101 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4954, allocations: 0 / 0.5101 GB, free: 3.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.4954, allocations: 3.938 kB / 0.5101 GB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.496, allocations: 499.8 kB / 0.5106 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.4991, allocations: 1.741 MB / 0.5123 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.4995, allocations: 0.6729 MB / 0.5129 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.874e-05/0.4996, allocations: 8.094 kB / 0.513 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.4996, allocations: 23.36 kB / 0.513 GB, free: 104 kB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4996, allocations: 0 / 0.513 GB, free: 104 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/0.5625, allocations: 25 MB / 0.5374 GB, free: 7.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.074, allocations: 7.984 kB / 0.5374 GB, free: 7.062 MB / 430.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)