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.0009559/0.0009558, allocations: 91.22 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.007445/0.007445, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04378/0.04378, allocations: 9.078 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.0005473/0.0005475, allocations: 12.38 kB / 339.8 MB, free: 25.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08857, allocations: 49.18 MB / 389 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01824/0.1069, allocations: 16.64 MB / 405.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1176, allocations: 10.64 MB / 416.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.1176, allocations: 0 / 416.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.1183, allocations: 251.6 kB / 416.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.1184, allocations: 23.91 kB / 416.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.1313, allocations: 4.774 MB / 421.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.1314, allocations: 51.73 kB / 421.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.1314, allocations: 0 / 421.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.1315, allocations: 31.8 kB / 421.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1316, allocations: 11.98 kB / 421.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1316, allocations: 0 / 421.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1976/0.3292, allocations: 7.996 MB / 429.4 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3293, allocations: 0.7812 kB / 429.4 MB, free: 20.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.3294, allocations: 43.75 kB / 429.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.3416, allocations: 3.487 MB / 433 MB, free: 20.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3416, allocations: 6.531 kB / 433 MB, free: 20.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3416, allocations: 0 / 433 MB, free: 20.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3416, allocations: 1.062 kB / 433 MB, free: 20.34 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.002804/0.3444, allocations: 0.7399 MB / 433.7 MB, free: 19.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3445, allocations: 10.08 kB / 433.7 MB, free: 19.78 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.3445, allocations: 32.19 kB / 433.8 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3446, allocations: 4.688 kB / 433.8 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.907e-05/0.3446, allocations: 163.1 kB / 433.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3447, allocations: 1.875 kB / 433.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3447, allocations: 4.203 kB / 433.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3448, allocations: 44.36 kB / 434 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3448, allocations: 0 / 434 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3448, allocations: 1.062 kB / 434 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3448, allocations: 3.141 kB / 434 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.3449, allocations: 13.11 kB / 434 MB, free: 19.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.345, allocations: 173.5 kB / 434.2 MB, free: 19.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.3451, allocations: 43 kB / 434.2 MB, free: 19.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.3451, allocations: 22.28 kB / 434.2 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05005/0.3952, allocations: 32.39 MB / 466.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3953, allocations: 36.62 kB / 466.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.627e-06/0.3953, allocations: 0 / 466.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002185/0.3955, allocations: 73.97 kB / 466.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3956, allocations: 53.94 kB / 466.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.605e-05/0.3956, allocations: 95.83 kB / 466.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3957, allocations: 25.7 kB / 466.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/0.3957, allocations: 84.02 kB / 467 MB, free: 5.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3957, allocations: 18.69 kB / 467 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.3958, allocations: 13.52 kB / 467 MB, free: 5.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.3961, allocations: 325 kB / 467.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.3961, allocations: 6.375 kB / 467.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.3961, allocations: 9.625 kB / 467.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.3962, allocations: 42.78 kB / 467.4 MB, free: 21.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3962, allocations: 0 / 467.4 MB, free: 21.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.39e-05/0.3962, allocations: 60.59 kB / 467.4 MB, free: 21.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3963, allocations: 6.062 kB / 467.4 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3963, allocations: 4.062 kB / 467.4 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3963, allocations: 1.906 kB / 467.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3963, allocations: 0 / 467.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3963, allocations: 2.156 kB / 467.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.3963, allocations: 9.312 kB / 467.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3964, allocations: 3.938 kB / 467.5 MB, free: 21.07 MB / 350.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.093e-05/0.3964, allocations: 109 kB / 467.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.3965, allocations: 2 kB / 467.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.3966, allocations: 174.1 kB / 467.7 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-05/0.3967, allocations: 183.6 kB / 467.9 MB, free: 20.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.3967, allocations: 180.2 kB / 468.1 MB, free: 20.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-05/0.3968, allocations: 179.2 kB / 468.3 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.397, allocations: 418.9 kB / 468.7 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/0.3971, allocations: 107.3 kB / 468.8 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.3971, allocations: 104.5 kB / 468.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.474e-05/0.3972, allocations: 182.2 kB / 469.1 MB, free: 19.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.3972, allocations: 176.3 kB / 469.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.3973, allocations: 192.4 kB / 469.4 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.187e-05/0.3974, allocations: 179.5 kB / 469.6 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.3975, allocations: 313.8 kB / 469.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.3976, allocations: 192.5 kB / 470.1 MB, free: 18.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.3977, allocations: 178.3 kB / 470.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.3978, allocations: 110.3 kB / 470.4 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3978, allocations: 180.3 kB / 470.6 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3979, allocations: 108 kB / 470.7 MB, free: 17.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.228e-05/0.3979, allocations: 105.4 kB / 470.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3979, allocations: 0 / 470.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003486/0.4014, allocations: 0.8572 MB / 471.6 MB, free: 17.54 MB / 350.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.004245/0.4057, allocations: 2.057 MB / 473.7 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.4058, allocations: 18.06 kB / 473.7 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4058, allocations: 1.203 kB / 473.7 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4058, allocations: 0 / 473.7 MB, free: 16.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.4063, allocations: 0.5563 MB / 474.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.408, allocations: 1.749 MB / 476 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.4082, allocations: 0.6817 MB / 476.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.652e-05/0.4083, allocations: 5.719 kB / 476.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.4083, allocations: 16.38 kB / 476.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4083, allocations: 3.469 kB / 476.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.4536, allocations: 24.8 MB / 0.4898 GB, free: 8.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.4538, allocations: 200.8 kB / 0.4899 GB, free: 8.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.042, allocations: 0 / 0.4899 GB, free: 8.566 MB / 366.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)