Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_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.0008732/0.0008731, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005809/0.005809, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.268/1.268, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04374/0.04374, allocations: 9.077 MB / 279.8 MB, free: 12.14 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.0004794/0.0004793, allocations: 12 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08148/0.08197, allocations: 49.18 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01635/0.09835, allocations: 16.58 MB / 405.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.1076, allocations: 9.937 MB / 415.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.1077, allocations: 0 / 415.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.1083, allocations: 239.6 kB / 415.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.1084, allocations: 15.86 kB / 415.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.1192, allocations: 4.27 MB / 420.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.1193, allocations: 43.73 kB / 420.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.1194, allocations: 0 / 420.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.1195, allocations: 31.84 kB / 420.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.1195, allocations: 7.938 kB / 420.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.1195, allocations: 0 / 420.1 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.1298, allocations: 7.148 MB / 427.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.1298, allocations: 11.92 kB / 427.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1299, allocations: 37.64 kB / 427.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1693/0.2992, allocations: 3.158 MB / 430.5 MB, free: 22.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2993, allocations: 1.062 kB / 430.5 MB, free: 22.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2993, allocations: 0 / 430.5 MB, free: 22.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2993, allocations: 0 / 430.5 MB, free: 22.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001318/0.3006, allocations: 0.6906 MB / 431.2 MB, free: 22.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3007, allocations: 9.062 kB / 431.2 MB, free: 22.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3007, allocations: 37 kB / 431.2 MB, free: 22.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.3007, allocations: 3.062 kB / 431.2 MB, free: 22.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/0.3008, allocations: 171 kB / 431.4 MB, free: 21.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3008, allocations: 0 / 431.4 MB, free: 21.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.3008, allocations: 1.188 kB / 431.4 MB, free: 21.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.3009, allocations: 39.95 kB / 431.4 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.301, allocations: 4.344 kB / 431.4 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.301, allocations: 3.844 kB / 431.4 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.301, allocations: 3.078 kB / 431.5 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.301, allocations: 12.08 kB / 431.5 MB, free: 21.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.3012, allocations: 171.5 kB / 431.6 MB, free: 21.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.3012, allocations: 30.75 kB / 431.7 MB, free: 21.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.3013, allocations: 19.83 kB / 431.7 MB, free: 21.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0215/0.3228, allocations: 13.69 MB / 445.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3228, allocations: 32 kB / 445.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.3228, allocations: 0.5 kB / 445.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002172/0.3231, allocations: 83.89 kB / 445.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.3231, allocations: 55.38 kB / 445.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.126e-05/0.3232, allocations: 100.4 kB / 445.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.3232, allocations: 25.7 kB / 445.7 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/0.3232, allocations: 80.14 kB / 445.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.3232, allocations: 23.45 kB / 445.8 MB, free: 9.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.3233, allocations: 12.95 kB / 445.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.3233, allocations: 317.2 kB / 446.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.3234, allocations: 11.72 kB / 446.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.3234, allocations: 11.8 kB / 446.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.3234, allocations: 34.98 kB / 446.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3234, allocations: 6.656 kB / 446.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.258e-05/0.3235, allocations: 62.77 kB / 446.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3236, allocations: 8 kB / 446.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3236, allocations: 0 / 446.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3236, allocations: 6.016 kB / 446.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3236, allocations: 0 / 446.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3236, allocations: 0 / 446.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.3237, allocations: 3.734 kB / 446.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3237, allocations: 0 / 446.2 MB, free: 8.844 MB / 318.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 5.121e-05/0.3237, allocations: 109.4 kB / 446.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.3237, allocations: 6.25 kB / 446.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.3239, allocations: 175.7 kB / 446.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.3239, allocations: 182.6 kB / 446.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.3239, allocations: 179.4 kB / 446.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.324, allocations: 182.7 kB / 447 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3241, allocations: 409.1 kB / 447.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.3242, allocations: 105.5 kB / 447.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.3242, allocations: 107.7 kB / 447.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.651e-05/0.3242, allocations: 181.3 kB / 447.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.3242, allocations: 180.1 kB / 448 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-05/0.3243, allocations: 186 kB / 448.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-05/0.3243, allocations: 179.8 kB / 448.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.3244, allocations: 305.3 kB / 448.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.3245, allocations: 200.5 kB / 448.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3245, allocations: 187.1 kB / 449 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.3246, allocations: 111.4 kB / 449.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.3246, allocations: 182.8 kB / 449.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.3247, allocations: 104.5 kB / 449.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.3247, allocations: 100.1 kB / 449.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 0 / 449.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002586/0.3273, allocations: 0.7401 MB / 450.3 MB, free: 5.344 MB / 318.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.00561/0.3329, allocations: 1.893 MB / 452.2 MB, free: 20.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.333, allocations: 21.03 kB / 452.2 MB, free: 20.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.333, allocations: 4.062 kB / 452.2 MB, free: 20.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.333, allocations: 0 / 452.2 MB, free: 20.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.3336, allocations: 0.55 MB / 452.7 MB, free: 19.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3362, allocations: 1.718 MB / 454.4 MB, free: 18.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3364, allocations: 0.6785 MB / 455.1 MB, free: 17.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.3364, allocations: 6.625 kB / 455.1 MB, free: 17.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.3365, allocations: 12.66 kB / 455.1 MB, free: 17.7 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3365, allocations: 0 / 455.1 MB, free: 17.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04241/0.3789, allocations: 23.09 MB / 478.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.3791, allocations: 204.8 kB / 478.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/2.862, allocations: 0 / 478.4 MB, free: 3.785 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)