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.004816/0.004816, allocations: 95.38 kB / 15.73 MB, free: 6.051 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.001282/0.001282, allocations: 204.7 kB / 16.68 MB, free: 5.973 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.453/1.453, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05115/0.05115, allocations: 9.088 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.002089/0.002089, allocations: 67.89 kB / 387 MB, free: 8.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2486, 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.01747/0.2661, allocations: 16.89 MB / 452 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2771, allocations: 10.47 MB / 462.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.2772, allocations: 0 / 462.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.278, allocations: 265.3 kB / 462.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.2781, allocations: 29.64 kB / 462.8 MB, free: 2.133 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.01573/0.2938, allocations: 5.741 MB / 468.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2939, allocations: 49.42 kB / 468.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.294, allocations: 6.266 kB / 468.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2941, allocations: 34.94 kB / 468.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.2941, allocations: 11.28 kB / 468.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.2942, allocations: 0 / 468.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/0.3103, allocations: 8.75 MB / 477.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3103, allocations: 7.922 kB / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.3104, allocations: 15.88 kB / 477.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009335/0.3197, allocations: 3.636 MB / 481 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3198, allocations: 0 / 481 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3198, allocations: 0 / 481 MB, free: 2.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3198, allocations: 0 / 481 MB, free: 2.805 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.001461/0.3213, allocations: 0.7649 MB / 481.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3213, allocations: 8.031 kB / 481.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.3213, allocations: 34.56 kB / 481.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.3214, allocations: 11.89 kB / 481.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3215, allocations: 167 kB / 482 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3215, allocations: 0 / 482 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.3216, allocations: 4 kB / 482 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3217, allocations: 41.64 kB / 482 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3217, allocations: 0 / 482 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.3217, allocations: 3.938 kB / 482 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3217, allocations: 7.984 kB / 482.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.3217, allocations: 11.94 kB / 482.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3219, allocations: 165.7 kB / 482.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.322, allocations: 30.58 kB / 482.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.322, allocations: 20.88 kB / 482.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05932/0.3814, allocations: 33.04 MB / 0.5032 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.3815, allocations: 34.56 kB / 0.5033 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.3815, allocations: 0 / 0.5033 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.3817, allocations: 69.62 kB / 0.5033 GB, free: 10.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3817, allocations: 51.41 kB / 0.5034 GB, free: 10.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.3818, allocations: 101.8 kB / 0.5035 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3819, allocations: 29.86 kB / 0.5035 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.3819, allocations: 80.14 kB / 0.5036 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.382, allocations: 19.8 kB / 0.5036 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.382, allocations: 17.72 kB / 0.5036 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3821, allocations: 314.8 kB / 0.5039 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.3822, allocations: 15.94 kB / 0.5039 GB, free: 9.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.3822, allocations: 8 kB / 0.5039 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.3823, allocations: 36.84 kB / 0.504 GB, free: 9.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3823, allocations: 4.031 kB / 0.504 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001023/0.3824, allocations: 69.62 kB / 0.5041 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3824, allocations: 7.938 kB / 0.5041 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3824, allocations: 0 / 0.5041 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3824, allocations: 0 / 0.5041 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3824, allocations: 0 / 0.5041 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3824, allocations: 0 / 0.5041 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.3825, allocations: 7.984 kB / 0.5041 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3825, allocations: 3.938 kB / 0.5041 GB, free: 9.613 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 7.909e-05/0.3826, allocations: 109.8 kB / 0.5042 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.3826, allocations: 11.97 kB / 0.5042 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.3828, allocations: 166.9 kB / 0.5043 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.703e-05/0.3829, allocations: 180.2 kB / 0.5045 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-05/0.383, allocations: 184.2 kB / 0.5047 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-05/0.383, allocations: 180.3 kB / 0.5049 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3834, allocations: 425 kB / 0.5053 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.546e-05/0.3834, allocations: 105 kB / 0.5054 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.3835, allocations: 112.9 kB / 0.5055 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.519e-05/0.3836, allocations: 180.2 kB / 0.5057 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.042e-05/0.3837, allocations: 176.3 kB / 0.5058 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.467e-05/0.3837, allocations: 180.2 kB / 0.506 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.3838, allocations: 184.3 kB / 0.5062 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.384, allocations: 307.8 kB / 0.5065 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3841, allocations: 178.1 kB / 0.5066 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.3842, allocations: 192.1 kB / 0.5068 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3843, allocations: 109 kB / 0.5069 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.3844, allocations: 184.2 kB / 0.5071 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.3845, allocations: 101.3 kB / 0.5072 GB, free: 6.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.3846, allocations: 103.3 kB / 0.5073 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3846, allocations: 0 / 0.5073 GB, free: 6.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002121/0.3867, allocations: 0.8683 MB / 0.5081 GB, free: 5.207 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.004503/0.3912, allocations: 2.083 MB / 0.5102 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.3914, allocations: 23.94 kB / 0.5102 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3914, allocations: 0 / 0.5102 GB, free: 3.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.3914, allocations: 3.938 kB / 0.5102 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.392, allocations: 484 kB / 0.5107 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3943, allocations: 1.759 MB / 0.5124 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3946, allocations: 0.6808 MB / 0.513 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.554e-05/0.3947, allocations: 0 / 0.513 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3947, allocations: 19.38 kB / 0.5131 GB, free: 16 kB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3947, allocations: 0 / 0.5131 GB, free: 16 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05969/0.4544, allocations: 25 MB / 0.5375 GB, free: 6.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.074, allocations: 7.984 kB / 0.5375 GB, free: 6.984 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)