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.0007357/0.0007355, allocations: 91.06 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.004741/0.004741, allocations: 170.7 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.313/1.313, 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.04455/0.04455, allocations: 9.069 MB / 279.8 MB, free: 12.15 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.0005345/0.0005345, allocations: 16 kB / 339.8 MB, free: 25.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08723, allocations: 49.18 MB / 389 MB, free: 8.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01684/0.1041, allocations: 16.73 MB / 405.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1152, allocations: 11.27 MB / 417 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.1153, allocations: 0 / 417 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007176/0.1161, allocations: 247.6 kB / 417.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.1162, allocations: 35.77 kB / 417.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.1299, allocations: 4.833 MB / 422.1 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.13, allocations: 75.55 kB / 422.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.13, allocations: 8 kB / 422.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.1301, allocations: 35.75 kB / 422.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.1302, allocations: 11.94 kB / 422.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1302, allocations: 4 kB / 422.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2026/0.3328, allocations: 7.903 MB / 430.2 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.3329, allocations: 9.969 kB / 430.2 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.333, allocations: 49.41 kB / 430.2 MB, free: 19.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.3449, allocations: 3.524 MB / 433.7 MB, free: 19.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3449, allocations: 1.188 kB / 433.7 MB, free: 19.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3449, allocations: 0 / 433.7 MB, free: 19.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3449, allocations: 0 / 433.7 MB, free: 19.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003174/0.3481, allocations: 0.7722 MB / 434.5 MB, free: 19.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3482, allocations: 10.19 kB / 434.5 MB, free: 19.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.3482, allocations: 40 kB / 434.6 MB, free: 19.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.3483, allocations: 9.062 kB / 434.6 MB, free: 19.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.3484, allocations: 171.4 kB / 434.7 MB, free: 19.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3484, allocations: 3.875 kB / 434.7 MB, free: 19.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.3484, allocations: 1.062 kB / 434.7 MB, free: 19.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3485, allocations: 59.8 kB / 434.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3486, allocations: 1.031 kB / 434.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3486, allocations: 0 / 434.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3486, allocations: 6.062 kB / 434.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.3486, allocations: 23.95 kB / 434.8 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.3488, allocations: 185.8 kB / 435 MB, free: 18.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.3489, allocations: 50.58 kB / 435.1 MB, free: 18.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.3489, allocations: 38.61 kB / 435.1 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06102/0.41, allocations: 40.62 MB / 475.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4101, allocations: 37.73 kB / 475.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.126e-06/0.4101, allocations: 0 / 475.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002562/0.4103, allocations: 126.6 kB / 475.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4104, allocations: 56.34 kB / 475.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.4104, allocations: 92.61 kB / 476 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4105, allocations: 25.7 kB / 476.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.4105, allocations: 85.47 kB / 476.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.4105, allocations: 49.39 kB / 476.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.4106, allocations: 17.83 kB / 476.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4107, allocations: 323.4 kB / 476.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.4108, allocations: 26.36 kB / 476.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.4108, allocations: 20.44 kB / 476.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.4109, allocations: 67.86 kB / 476.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4109, allocations: 0 / 476.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001051/0.411, allocations: 98.3 kB / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.411, allocations: 13.72 kB / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.411, allocations: 0 / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.411, allocations: 0 / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.411, allocations: 3.469 kB / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4111, allocations: 0 / 476.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/0.4111, allocations: 7.125 kB / 476.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4111, allocations: 1.312 kB / 476.8 MB, free: 12 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: 2 (state_ps.phase,state.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/0.4112, allocations: 113.1 kB / 476.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4112, allocations: 9.297 kB / 476.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.4114, allocations: 162.9 kB / 477 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4114, allocations: 0 / 477 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4114, allocations: 2.031 kB / 477 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4114, allocations: 3.938 kB / 477 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.4116, allocations: 170.2 kB / 477.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4116, allocations: 3.562 kB / 477.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.4116, allocations: 4.031 kB / 477.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4116, allocations: 5.188 kB / 477.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.4116, allocations: 0 / 477.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4116, allocations: 0 / 477.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4116, allocations: 0 / 477.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.999e-05/0.4117, allocations: 95.61 kB / 477.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.4117, allocations: 91.27 kB / 477.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4118, allocations: 3.984 kB / 477.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.4118, allocations: 7.656 kB / 477.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.4118, allocations: 0 / 477.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4118, allocations: 3.938 kB / 477.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.775e-05/0.4119, allocations: 98.45 kB / 477.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4119, allocations: 0 / 477.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003133/0.415, allocations: 0.8589 MB / 478.4 MB, free: 11.11 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: 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 (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.004258/0.4193, allocations: 1.888 MB / 480.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4194, allocations: 50.17 kB / 480.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4194, allocations: 0 / 480.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.4194, allocations: 17.47 kB / 480.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4199, allocations: 65.11 kB / 480.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.4216, allocations: 1.663 MB / 482 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.4218, allocations: 0.691 MB / 482.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.4219, allocations: 6.828 kB / 482.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.4219, allocations: 14.88 kB / 482.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4219, allocations: 0 / 482.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.4683, allocations: 25.53 MB / 0.4964 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.4686, allocations: 200.4 kB / 0.4966 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.149, allocations: 0 / 0.4966 GB, free: 0.6836 MB / 366.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/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)