Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.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_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",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.0008016/0.0008015, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008026/0.0008025, allocations: 172.7 kB / 15.95 MB, free: 208 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.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04242/0.04242, allocations: 9.053 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.000526/0.0005262, allocations: 16 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07884, allocations: 49.18 MB / 388.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01528/0.09416, allocations: 15.99 MB / 404.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1057, allocations: 13.26 MB / 417.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.1058, allocations: 0 / 417.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007476/0.1065, allocations: 322.5 kB / 418 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.109, allocations: 1.379 MB / 419.4 MB, free: 9.621 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function ‘HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.009091/0.1181, allocations: 3.74 MB / 423.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1183, allocations: 139.1 kB / 423.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.1184, allocations: 13.11 kB / 423.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1185, allocations: 59.73 kB / 423.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.1186, allocations: 43.78 kB / 423.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1186, allocations: 4 kB / 423.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1725/0.2911, allocations: 8.281 MB / 431.6 MB, free: 20.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.2912, allocations: 11.72 kB / 431.6 MB, free: 20.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.2912, allocations: 49.73 kB / 431.7 MB, free: 20.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004488/0.2957, allocations: 2.129 MB / 433.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2958, allocations: 1.125 kB / 433.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2958, allocations: 0 / 433.8 MB, free: 20.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.2958, allocations: 7.125 kB / 433.8 MB, free: 20.39 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002182/0.298, allocations: 0.8173 MB / 434.6 MB, free: 19.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.298, allocations: 9.812 kB / 434.7 MB, free: 19.78 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.2981, allocations: 48.38 kB / 434.7 MB, free: 19.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2982, allocations: 19.59 kB / 434.7 MB, free: 19.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.2983, allocations: 174.1 kB / 434.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2983, allocations: 7.656 kB / 434.9 MB, free: 19.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2983, allocations: 7.203 kB / 434.9 MB, free: 19.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2986, allocations: 218.4 kB / 435.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2986, allocations: 0 / 435.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2986, allocations: 6.094 kB / 435.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2986, allocations: 7.031 kB / 435.1 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.299, allocations: 423.5 kB / 435.5 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.2993, allocations: 306.4 kB / 435.8 MB, free: 19.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2995, allocations: 221.3 kB / 436.1 MB, free: 19.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.2997, allocations: 215.5 kB / 436.3 MB, free: 19.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.3117, allocations: 9.833 MB / 446.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3118, allocations: 35.78 kB / 446.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.3118, allocations: 3 kB / 446.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006897/0.3125, allocations: 0.5788 MB / 446.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3125, allocations: 52.78 kB / 446.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.3126, allocations: 94.8 kB / 446.9 MB, free: 9.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3126, allocations: 27.08 kB / 446.9 MB, free: 9.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.3126, allocations: 84.05 kB / 447 MB, free: 9.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/0.3127, allocations: 136.5 kB / 447.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.3127, allocations: 1.375 kB / 447.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.3128, allocations: 324.2 kB / 447.4 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3129, allocations: 166.3 kB / 447.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3131, allocations: 163.9 kB / 447.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3133, allocations: 171.5 kB / 447.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3133, allocations: 0 / 447.9 MB, free: 9.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004227/0.3137, allocations: 408.3 kB / 448.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3137, allocations: 6.375 kB / 448.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3138, allocations: 4 kB / 448.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3138, allocations: 1.25 kB / 448.3 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3139, allocations: 25.11 kB / 448.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3139, allocations: 0 / 448.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.314, allocations: 22.61 kB / 448.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.314, allocations: 11.14 kB / 448.4 MB, free: 9.277 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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 7.58e-05/0.3141, allocations: 114.3 kB / 448.5 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.3141, allocations: 12.72 kB / 448.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006052/0.3147, allocations: 0.6226 MB / 449.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3147, allocations: 1.375 kB / 449.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3148, allocations: 0 / 449.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3148, allocations: 3.656 kB / 449.1 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.3157, allocations: 0.9014 MB / 450 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3157, allocations: 2.906 kB / 450 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.3158, allocations: 27.78 kB / 450.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3158, allocations: 4.562 kB / 450.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3158, allocations: 7.125 kB / 450.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.3158, allocations: 3.344 kB / 450.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.3158, allocations: 5.469 kB / 450.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3161, allocations: 261.3 kB / 450.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.3162, allocations: 131.6 kB / 450.5 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3162, allocations: 11.53 kB / 450.5 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.3163, allocations: 3.344 kB / 450.5 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3163, allocations: 16.81 kB / 450.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3164, allocations: 9.688 kB / 450.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.3165, allocations: 168.1 kB / 450.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3165, allocations: 1.094 kB / 450.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003335/0.3199, allocations: 0.7948 MB / 451.5 MB, free: 7.883 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00461/0.3245, allocations: 2.042 MB / 453.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.3248, allocations: 285.1 kB / 453.8 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3248, allocations: 0 / 453.8 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.3249, allocations: 79.81 kB / 453.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3253, allocations: 42.77 kB / 453.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3266, allocations: 0.8252 MB / 454.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3267, allocations: 0.7095 MB / 455.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.3268, allocations: 17.38 kB / 455.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3268, allocations: 39.36 kB / 455.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3268, allocations: 0 / 455.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04374/0.3706, allocations: 27.83 MB / 483.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.3708, allocations: 251.4 kB / 483.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.272, allocations: 0 / 483.6 MB, free: 0.5469 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) Environment - environmentSimulation: