Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_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.0008414/0.0008414, 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.0007941/0.0007941, 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04179/0.04179, allocations: 9.058 MB / 279.4 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.0004679/0.0004679, allocations: 16 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.0833, allocations: 49.18 MB / 388.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01774/0.1011, allocations: 15.7 MB / 404.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.1128, allocations: 10.43 MB / 414.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.113, allocations: 4 kB / 414.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006258/0.1136, allocations: 211 kB / 414.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.1137, allocations: 35.77 kB / 414.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.1268, allocations: 4.586 MB / 419.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1269, allocations: 75.55 kB / 419.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.127, allocations: 4.281 kB / 419.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.127, allocations: 35.8 kB / 419.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.1271, allocations: 19.92 kB / 419.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1271, allocations: 0 / 419.5 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/0.1408, allocations: 7.078 MB / 426.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1409, allocations: 4 kB / 426.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.141, allocations: 37.64 kB / 426.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.1457, allocations: 2.109 MB / 428.7 MB, free: 252 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1457, allocations: 3.938 kB / 428.7 MB, free: 248 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1457, allocations: 0 / 428.7 MB, free: 248 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1457, allocations: 0 / 428.7 MB, free: 248 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.1772/0.3229, allocations: 0.7686 MB / 429.5 MB, free: 45.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.323, allocations: 10.22 kB / 429.5 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.323, allocations: 35.88 kB / 429.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.3231, allocations: 8.656 kB / 429.6 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/0.3232, allocations: 170.5 kB / 429.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3232, allocations: 0 / 429.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.3232, allocations: 1.531 kB / 429.7 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3233, allocations: 60.03 kB / 429.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3233, allocations: 0.625 kB / 429.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3233, allocations: 2.234 kB / 429.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3233, allocations: 6.672 kB / 429.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.3234, allocations: 26.69 kB / 429.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3235, allocations: 184.5 kB / 430 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.3236, allocations: 56.02 kB / 430.1 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.3237, allocations: 36.7 kB / 430.1 MB, free: 45.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04963/0.3733, allocations: 40.61 MB / 470.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3734, allocations: 36.81 kB / 470.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 3.687e-06/0.3734, allocations: 2.156 kB / 470.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002984/0.3737, allocations: 127.6 kB / 470.9 MB, free: 5.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3737, allocations: 57.44 kB / 470.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.3738, allocations: 92.8 kB / 471 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.3738, allocations: 30.73 kB / 471 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.3738, allocations: 84.22 kB / 471.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.3739, allocations: 44.98 kB / 471.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.3739, allocations: 3.375 kB / 471.2 MB, free: 5.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.3739, allocations: 320.4 kB / 471.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.374, allocations: 27.7 kB / 471.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.374, allocations: 24.27 kB / 471.5 MB, free: 5.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.3741, allocations: 25.19 kB / 471.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3741, allocations: 0 / 471.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001051/0.3742, allocations: 97.05 kB / 471.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3742, allocations: 8.875 kB / 471.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3742, allocations: 0 / 471.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3742, allocations: 6.969 kB / 471.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.3742, allocations: 0 / 471.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3743, allocations: 3.953 kB / 471.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.3743, allocations: 1.469 kB / 471.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3743, allocations: 5.484 kB / 471.7 MB, free: 5.066 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: 2 (state.phase,state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.138e-05/0.3744, allocations: 114.5 kB / 471.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3744, allocations: 6.5 kB / 471.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3746, allocations: 154.5 kB / 471.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3746, allocations: 10.84 kB / 472 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3746, allocations: 3.984 kB / 472 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3746, allocations: 3.953 kB / 472 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.3747, allocations: 172.6 kB / 472.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3747, allocations: 0 / 472.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.3747, allocations: 0 / 472.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3748, allocations: 5.766 kB / 472.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3748, allocations: 3.938 kB / 472.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3748, allocations: 4.031 kB / 472.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3748, allocations: 1.812 kB / 472.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.238e-05/0.3749, allocations: 87.33 kB / 472.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.3749, allocations: 88.53 kB / 472.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3749, allocations: 0 / 472.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.375, allocations: 0.875 kB / 472.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.375, allocations: 5.781 kB / 472.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.375, allocations: 32 / 472.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.375, allocations: 103.9 kB / 472.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.375, allocations: 0 / 472.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002182/0.3772, allocations: 0.8579 MB / 473.3 MB, free: 4.094 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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003042/0.3803, allocations: 1.885 MB / 475.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.3804, allocations: 53.98 kB / 475.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3804, allocations: 0 / 475.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.3804, allocations: 15.91 kB / 475.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3807, allocations: 32.42 kB / 475.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.3816, allocations: 0.565 MB / 475.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.3817, allocations: 0.6863 MB / 476.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.3817, allocations: 1.469 kB / 476.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3818, allocations: 16.44 kB / 476.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3818, allocations: 0 / 476.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04658/0.4284, allocations: 25.03 MB / 0.4898 GB, free: 9.273 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.4286, allocations: 193.9 kB / 0.49 GB, free: 9.031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/2.934, allocations: 0 / 0.49 GB, free: 9.031 MB / 350.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) Environment - environmentSimulation: