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.001066/0.001066, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001142/0.001142, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.385/1.385, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04563/0.04563, allocations: 9.087 MB / 278.5 MB, free: 12.32 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.001419/0.001419, allocations: 67.91 kB / 337.6 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.08531, allocations: 48.15 MB / 385.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02137/0.1067, allocations: 16.83 MB / 402.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.1166, allocations: 9.752 MB / 412.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.1167, allocations: 0 / 412.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.1174, allocations: 247.6 kB / 412.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.664e-05/0.1175, allocations: 15.86 kB / 412.6 MB, free: 14.52 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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:887:13-887: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.01355/0.131, allocations: 4.643 MB / 417.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1311, allocations: 43.75 kB / 417.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.1312, allocations: 7.984 kB / 417.3 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1313, allocations: 23.88 kB / 417.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.1314, allocations: 11.94 kB / 417.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1314, allocations: 0 / 417.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.1447, allocations: 7.629 MB / 425 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1447, allocations: 11.92 kB / 425 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.1448, allocations: 11.94 kB / 425 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1775/0.3223, allocations: 3.308 MB / 428.3 MB, free: 23.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3223, allocations: 0 / 428.3 MB, free: 23.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3223, allocations: 0.6562 kB / 428.3 MB, free: 23.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3223, allocations: 0 / 428.3 MB, free: 23.77 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.001781/0.3241, allocations: 0.6934 MB / 429 MB, free: 23.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3242, allocations: 10.09 kB / 429 MB, free: 23.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.3242, allocations: 33.23 kB / 429 MB, free: 23.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.3243, allocations: 3.062 kB / 429.1 MB, free: 23.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.3243, allocations: 168 kB / 429.2 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.3244, allocations: 1 kB / 429.2 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.3244, allocations: 0 / 429.2 MB, free: 23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3245, allocations: 46.94 kB / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.3245, allocations: 0 / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.3245, allocations: 0 / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3245, allocations: 3.641 kB / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.3246, allocations: 14.94 kB / 429.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.3247, allocations: 163.9 kB / 429.4 MB, free: 22.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.3248, allocations: 37.95 kB / 429.5 MB, free: 22.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.3248, allocations: 18.94 kB / 429.5 MB, free: 22.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02495/0.3498, allocations: 14 MB / 443.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3498, allocations: 35.78 kB / 443.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.3498, allocations: 3.375 kB / 443.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002305/0.3501, allocations: 75.92 kB / 443.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3501, allocations: 58.62 kB / 443.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.3502, allocations: 97.62 kB / 443.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3502, allocations: 27.05 kB / 443.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.322e-05/0.3502, allocations: 81.08 kB / 443.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.3503, allocations: 19.22 kB / 443.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.3503, allocations: 17.92 kB / 443.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.3504, allocations: 319.1 kB / 444.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.3504, allocations: 12.09 kB / 444.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.3504, allocations: 13.02 kB / 444.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.3505, allocations: 36.33 kB / 444.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3505, allocations: 0 / 444.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.823e-05/0.3506, allocations: 61.47 kB / 444.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3506, allocations: 5.656 kB / 444.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3506, allocations: 0.9375 kB / 444.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3507, allocations: 0 / 444.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-06/0.3507, allocations: 4.562 kB / 444.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3507, allocations: 4.75 kB / 444.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.3507, allocations: 1.672 kB / 444.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3507, allocations: 0.9062 kB / 444.4 MB, free: 9.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 6.096e-05/0.3508, allocations: 108 kB / 444.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.3508, allocations: 6.469 kB / 444.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.351, allocations: 172.4 kB / 444.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.351, allocations: 184.2 kB / 444.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/0.351, allocations: 188.7 kB / 445 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.3511, allocations: 182.3 kB / 445.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.3512, allocations: 411.5 kB / 445.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.3512, allocations: 102.4 kB / 445.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.3513, allocations: 104.6 kB / 445.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-05/0.3513, allocations: 186.1 kB / 446 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3513, allocations: 179.3 kB / 446.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.572e-05/0.3514, allocations: 184.9 kB / 446.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-05/0.3514, allocations: 178.6 kB / 446.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.574e-05/0.3515, allocations: 319.9 kB / 446.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.3515, allocations: 185.7 kB / 447 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.3516, allocations: 185.4 kB / 447.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.3516, allocations: 112.7 kB / 447.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3517, allocations: 176.3 kB / 447.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3517, allocations: 105.9 kB / 447.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.006e-05/0.3517, allocations: 104 kB / 447.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3517, allocations: 0 / 447.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002762/0.3545, allocations: 0.7431 MB / 448.4 MB, free: 6.332 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.004034/0.3586, allocations: 1.895 MB / 450.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.312e-05/0.3587, allocations: 19.36 kB / 450.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3587, allocations: 0 / 450.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3587, allocations: 4.562 kB / 450.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3591, allocations: 490.5 kB / 450.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.361, allocations: 1.695 MB / 452.5 MB, free: 19.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3613, allocations: 0.6814 MB / 453.2 MB, free: 18.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.342e-05/0.3613, allocations: 1.766 kB / 453.2 MB, free: 18.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3614, allocations: 14.72 kB / 453.2 MB, free: 18.75 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3614, allocations: 0 / 453.2 MB, free: 18.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.4082, allocations: 23.22 MB / 476.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.4084, allocations: 205.7 kB / 476.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.149, allocations: 4 kB / 476.6 MB, free: 4.543 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)