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.0007779/0.0007781, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007898/0.0007898, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04267/0.04267, allocations: 9.056 MB / 279.5 MB, free: 12.26 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.0004751/0.0004753, allocations: 19.94 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07709, allocations: 49.18 MB / 388.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01549/0.09263, allocations: 15.55 MB / 404 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008548/0.1012, allocations: 9.16 MB / 413.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.1013, allocations: 0 / 413.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.102, allocations: 223 kB / 413.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.102, allocations: 15.86 kB / 413.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009937/0.112, allocations: 4.052 MB / 417.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.112, allocations: 39.75 kB / 417.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1121, allocations: 288 / 417.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.1122, allocations: 27.86 kB / 417.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.1122, allocations: 11.94 kB / 417.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.1122, allocations: 0 / 417.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.1224, allocations: 6.427 MB / 423.9 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1225, allocations: 4 kB / 423.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.1226, allocations: 33.64 kB / 424 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.1264, allocations: 1.855 MB / 425.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1264, allocations: 4 kB / 425.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1264, allocations: 0 / 425.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1264, allocations: 0 / 425.8 MB, free: 3.156 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.001034/0.1275, allocations: 0.6902 MB / 426.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1275, allocations: 12.03 kB / 426.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1276, allocations: 30.56 kB / 426.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.1276, allocations: 7.906 kB / 426.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1277, allocations: 171 kB / 426.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1277, allocations: 4 kB / 426.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.1278, allocations: 0 / 426.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.959e-05/0.1279, allocations: 49.67 kB / 426.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1279, allocations: 3.938 kB / 426.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1279, allocations: 3.953 kB / 426.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1279, allocations: 0 / 426.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.1279, allocations: 11.98 kB / 426.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1281, allocations: 161.7 kB / 427 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.1281, allocations: 34.58 kB / 427 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.1282, allocations: 16.89 kB / 427 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1608/0.289, allocations: 13.69 MB / 440.7 MB, free: 34.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2891, allocations: 37.17 kB / 440.7 MB, free: 34.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.2891, allocations: 0 / 440.7 MB, free: 34.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001887/0.2893, allocations: 74.03 kB / 440.8 MB, free: 34.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.2893, allocations: 53.22 kB / 440.9 MB, free: 34.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.2894, allocations: 95.11 kB / 441 MB, free: 34.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.2894, allocations: 30.42 kB / 441 MB, free: 34.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.2894, allocations: 87.7 kB / 441.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2894, allocations: 20.31 kB / 441.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.2894, allocations: 2.094 kB / 441.1 MB, free: 34.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2895, allocations: 320.5 kB / 441.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.2895, allocations: 10.14 kB / 441.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.2895, allocations: 12.55 kB / 441.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.2896, allocations: 18.05 kB / 441.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2896, allocations: 0.9688 kB / 441.4 MB, free: 34.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.725e-05/0.2897, allocations: 62.56 kB / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2897, allocations: 7.844 kB / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2897, allocations: 0.5156 kB / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2897, allocations: 0 / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.2897, allocations: 1.984 kB / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2897, allocations: 0 / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.2898, allocations: 4.375 kB / 441.5 MB, free: 34.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2898, allocations: 3.906 kB / 441.5 MB, free: 34.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.2898, allocations: 114.3 kB / 441.6 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.2898, allocations: 2.656 kB / 441.6 MB, free: 33.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2899, allocations: 174.2 kB / 441.8 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.29, allocations: 179.8 kB / 442 MB, free: 33.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/0.29, allocations: 185.1 kB / 442.2 MB, free: 33.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.29, allocations: 177.9 kB / 442.3 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2902, allocations: 414.5 kB / 442.7 MB, free: 32.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.2902, allocations: 102.6 kB / 442.8 MB, free: 32.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.2902, allocations: 113.9 kB / 443 MB, free: 32.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.734e-05/0.2902, allocations: 180.5 kB / 443.1 MB, free: 32.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.2903, allocations: 176.3 kB / 443.3 MB, free: 32.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-05/0.2903, allocations: 185.5 kB / 443.5 MB, free: 32.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.292e-05/0.2903, allocations: 180.5 kB / 443.7 MB, free: 31.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.334e-05/0.2904, allocations: 310.2 kB / 444 MB, free: 31.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2905, allocations: 193.1 kB / 444.1 MB, free: 31.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.2905, allocations: 189.7 kB / 444.3 MB, free: 31.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.2906, allocations: 103 kB / 444.4 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2906, allocations: 181.8 kB / 444.6 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2906, allocations: 102.5 kB / 444.7 MB, free: 30.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.2907, allocations: 106.7 kB / 444.8 MB, free: 30.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2907, allocations: 0 / 444.8 MB, free: 30.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001864/0.2926, allocations: 0.7424 MB / 445.6 MB, free: 30.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00285/0.2954, allocations: 1.9 MB / 447.5 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.2955, allocations: 17.67 kB / 447.5 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2955, allocations: 0 / 447.5 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.2955, allocations: 3.938 kB / 447.5 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.2958, allocations: 0.5258 MB / 448 MB, free: 29.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.2966, allocations: 0.5489 MB / 448.6 MB, free: 28.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.854e-05/0.2967, allocations: 0.6747 MB / 449.2 MB, free: 28.14 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.261e-05/0.2967, allocations: 1.688 kB / 449.2 MB, free: 28.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.2968, allocations: 9.094 kB / 449.2 MB, free: 28.13 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2968, allocations: 9.438 kB / 449.3 MB, free: 28.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3321, allocations: 22.6 MB / 471.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.3323, allocations: 186.4 kB / 472 MB, free: 10.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.719, allocations: 4 kB / 472 MB, free: 10.39 MB / 318.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/linux/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) Environment - environmentSimulation: