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.001526/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001817/0.001817, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.368/1.368, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04502/0.04502, allocations: 9.083 MB / 278.4 MB, free: 12.39 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.001321/0.001321, allocations: 67.89 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0747/0.07603, allocations: 48.15 MB / 385.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01699/0.09306, allocations: 17.25 MB / 402.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1032, allocations: 11.37 MB / 414.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.1033, allocations: 4 kB / 414.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.1039, allocations: 243.6 kB / 414.5 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.104, allocations: 39.75 kB / 414.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.1156, allocations: 4.813 MB / 419.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1158, allocations: 79.55 kB / 419.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1158, allocations: 4 kB / 419.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.1159, allocations: 35.8 kB / 419.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.062e-05/0.1159, allocations: 15.94 kB / 419.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.1159, allocations: 0 / 419.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1609/0.2769, allocations: 7.913 MB / 427.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.2769, allocations: 3.828 kB / 427.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/0.277, allocations: 19.16 kB / 427.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.2875, allocations: 3.537 MB / 430.9 MB, free: 20.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2875, allocations: 1.062 kB / 430.9 MB, free: 20.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2876, allocations: 0 / 430.9 MB, free: 20.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2876, allocations: 0 / 430.9 MB, free: 20.86 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.002826/0.2904, allocations: 0.7791 MB / 431.7 MB, free: 20.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2905, allocations: 9.703 kB / 431.7 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.2905, allocations: 40.14 kB / 431.7 MB, free: 20.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.2905, allocations: 9.625 kB / 431.8 MB, free: 20.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.2906, allocations: 166.8 kB / 431.9 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.2906, allocations: 2.938 kB / 431.9 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2907, allocations: 1.062 kB / 431.9 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2908, allocations: 61.11 kB / 432 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2908, allocations: 0.5938 kB / 432 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2908, allocations: 0 / 432 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2908, allocations: 12.25 kB / 432 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.2909, allocations: 23.05 kB / 432 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.291, allocations: 186.4 kB / 432.2 MB, free: 19.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.2911, allocations: 47.42 kB / 432.2 MB, free: 19.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.2911, allocations: 43.86 kB / 432.3 MB, free: 19.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06269/0.3538, allocations: 41.4 MB / 473.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3539, allocations: 34.56 kB / 473.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.3539, allocations: 0 / 473.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002507/0.3541, allocations: 128.3 kB / 473.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3542, allocations: 53.34 kB / 473.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.3543, allocations: 91.55 kB / 474 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3543, allocations: 30.06 kB / 474 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.3543, allocations: 82.02 kB / 474.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.3544, allocations: 53.8 kB / 474.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3544, allocations: 19.95 kB / 474.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.3545, allocations: 316.9 kB / 474.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.3545, allocations: 31.61 kB / 474.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.3546, allocations: 23.8 kB / 474.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.3546, allocations: 65.41 kB / 474.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3546, allocations: 0 / 474.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001031/0.3548, allocations: 95.98 kB / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3548, allocations: 7.062 kB / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3548, allocations: 4.062 kB / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3548, allocations: 0 / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-06/0.3548, allocations: 4.734 kB / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3548, allocations: 0 / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.3549, allocations: 6.062 kB / 474.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3549, allocations: 0 / 474.7 MB, free: 13.09 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.014e-05/0.355, allocations: 111.1 kB / 474.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.355, allocations: 9.062 kB / 474.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.3552, allocations: 157.3 kB / 475 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3552, allocations: 3.188 kB / 475 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3552, allocations: 0 / 475 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3552, allocations: 7.875 kB / 475 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3553, allocations: 172 kB / 475.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3553, allocations: 0 / 475.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3553, allocations: 0 / 475.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3553, allocations: 32 / 475.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3553, allocations: 4 kB / 475.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3553, allocations: 0 / 475.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3553, allocations: 7.656 kB / 475.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.3554, allocations: 97.98 kB / 475.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3555, allocations: 77.11 kB / 475.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3555, allocations: 9.969 kB / 475.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.3555, allocations: 0 / 475.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.3555, allocations: 7.031 kB / 475.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.3556, allocations: 3.938 kB / 475.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.278e-05/0.3556, allocations: 103.5 kB / 475.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3556, allocations: 0 / 475.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002656/0.3583, allocations: 0.8609 MB / 476.3 MB, free: 12.2 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.003452/0.3617, allocations: 1.882 MB / 478.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.3618, allocations: 54.8 kB / 478.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3619, allocations: 0 / 478.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.3619, allocations: 18.52 kB / 478.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3623, allocations: 57.25 kB / 478.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3639, allocations: 1.666 MB / 480 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3641, allocations: 0.6829 MB / 480.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.3641, allocations: 10.55 kB / 480.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.3642, allocations: 19.3 kB / 480.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3642, allocations: 0 / 480.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04073/0.4049, allocations: 25.59 MB / 0.4944 GB, free: 1.684 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.4051, allocations: 201.3 kB / 0.4946 GB, free: 1.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.13, allocations: 0 / 0.4946 GB, free: 1.43 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)