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.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001864/0.001864, allocations: 194.6 kB / 16.14 MB, free: 6.719 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.383/1.383, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04452/0.04452, allocations: 9.078 MB / 278.4 MB, free: 12.64 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.001314/0.001314, allocations: 72.34 kB / 337.4 MB, free: 25.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07006/0.07139, allocations: 48.16 MB / 385.6 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01649/0.08792, allocations: 17.08 MB / 402.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008704/0.09666, allocations: 10.03 MB / 412.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.09672, allocations: 0 / 412.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.09734, allocations: 243.6 kB / 413 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.09739, allocations: 23.84 kB / 413 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009524/0.1069, allocations: 4.249 MB / 417.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.107, allocations: 43.75 kB / 417.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.107, allocations: 3.984 kB / 417.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.1071, allocations: 15.94 kB / 417.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.1072, allocations: 11.94 kB / 417.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.1072, allocations: 7.938 kB / 417.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.1179, allocations: 7.152 MB / 424.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.118, allocations: 3.938 kB / 424.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1181, allocations: 15.94 kB / 424.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1538/0.2718, allocations: 3.172 MB / 427.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2719, allocations: 0.9844 kB / 427.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2719, allocations: 1.375 kB / 427.7 MB, free: 24.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2719, allocations: 0 / 427.7 MB, free: 24.36 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.001223/0.2731, allocations: 0.6869 MB / 428.3 MB, free: 23.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2732, allocations: 13.22 kB / 428.4 MB, free: 23.85 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.326e-05/0.2732, allocations: 35.11 kB / 428.4 MB, free: 23.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.2732, allocations: 3.469 kB / 428.4 MB, free: 23.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.2733, allocations: 168.4 kB / 428.6 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.2733, allocations: 0 / 428.6 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.2733, allocations: 0.5938 kB / 428.6 MB, free: 23.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.2734, allocations: 41.86 kB / 428.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.2734, allocations: 1.312 kB / 428.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.2734, allocations: 1.906 kB / 428.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2735, allocations: 4.219 kB / 428.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.2735, allocations: 13.64 kB / 428.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2736, allocations: 164 kB / 428.8 MB, free: 23.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.2737, allocations: 38.48 kB / 428.8 MB, free: 23.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.2737, allocations: 24.11 kB / 428.8 MB, free: 23.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02353/0.2972, allocations: 14.01 MB / 442.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.2973, allocations: 30.56 kB / 442.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.497e-06/0.2973, allocations: 1.031 kB / 442.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002241/0.2976, allocations: 76.55 kB / 443 MB, free: 11.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.2976, allocations: 51.41 kB / 443 MB, free: 11.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.4e-05/0.2976, allocations: 99.72 kB / 443.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.2977, allocations: 25.86 kB / 443.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.722e-05/0.2977, allocations: 85.52 kB / 443.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2977, allocations: 24.66 kB / 443.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2978, allocations: 15.72 kB / 443.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.2978, allocations: 312 kB / 443.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2978, allocations: 17.09 kB / 443.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.2979, allocations: 10.03 kB / 443.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.2979, allocations: 35.77 kB / 443.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2979, allocations: 0 / 443.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.838e-05/0.298, allocations: 66.05 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2981, allocations: 8.188 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2981, allocations: 3.5 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2981, allocations: 0.9688 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2981, allocations: 0 / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2981, allocations: 1 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.2981, allocations: 1.125 kB / 443.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2982, allocations: 0 / 443.7 MB, free: 10.5 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.78e-05/0.2982, allocations: 115 kB / 443.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.2982, allocations: 9.781 kB / 443.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2984, allocations: 170.6 kB / 444 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.2984, allocations: 183.6 kB / 444.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/0.2984, allocations: 179.5 kB / 444.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.2985, allocations: 181.1 kB / 444.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.2986, allocations: 416.2 kB / 444.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.2986, allocations: 105.6 kB / 445 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.2987, allocations: 105.2 kB / 445.1 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.2987, allocations: 186.3 kB / 445.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.2987, allocations: 177.5 kB / 445.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.2988, allocations: 185.2 kB / 445.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.678e-05/0.2988, allocations: 177.9 kB / 445.8 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.759e-05/0.2989, allocations: 320.9 kB / 446.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.2989, allocations: 178.1 kB / 446.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.299, allocations: 189 kB / 446.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.299, allocations: 106.3 kB / 446.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.2991, allocations: 179.4 kB / 446.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.2991, allocations: 110.2 kB / 446.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.157e-05/0.2992, allocations: 108 kB / 447 MB, free: 7.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2992, allocations: 0 / 447 MB, free: 7.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002845/0.302, allocations: 0.7368 MB / 447.7 MB, free: 6.992 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.003913/0.3059, allocations: 1.901 MB / 449.6 MB, free: 6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.306, allocations: 18.03 kB / 449.7 MB, free: 6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.306, allocations: 5.438 kB / 449.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.306, allocations: 0 / 449.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3065, allocations: 0.5479 MB / 450.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3085, allocations: 1.696 MB / 451.9 MB, free: 20.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3088, allocations: 0.6777 MB / 452.6 MB, free: 19.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.3089, allocations: 5.188 kB / 452.6 MB, free: 19.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3089, allocations: 11.53 kB / 452.6 MB, free: 19.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3089, allocations: 32 / 452.6 MB, free: 19.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.3472, allocations: 23.15 MB / 475.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.3474, allocations: 201.4 kB / 476 MB, free: 5.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/2.843, allocations: 0 / 476 MB, free: 5.539 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)