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.001081/0.001081, 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.001163/0.001163, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.324/1.324, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04573/0.04573, allocations: 9.089 MB / 278.4 MB, free: 12.4 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.001352/0.001352, allocations: 67.84 kB / 337.4 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.07872, allocations: 48.16 MB / 385.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01863/0.09741, allocations: 17.54 MB / 403.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1108, allocations: 14.45 MB / 417.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.111, allocations: 4 kB / 417.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009944/0.112, allocations: 328 kB / 417.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.1147, allocations: 1.395 MB / 419.3 MB, free: 7.734 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.01067/0.1254, allocations: 3.999 MB / 423.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1257, allocations: 139.2 kB / 423.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.1258, allocations: 13.12 kB / 423.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1259, allocations: 55.72 kB / 423.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.126, allocations: 55.72 kB / 423.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.126, allocations: 4 kB / 423.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2068/0.3328, allocations: 9.268 MB / 432.8 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.3329, allocations: 9.156 kB / 432.8 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.3331, allocations: 59.25 kB / 432.9 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.347, allocations: 3.645 MB / 436.6 MB, free: 19.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.347, allocations: 0 / 436.6 MB, free: 19.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3471, allocations: 0 / 436.6 MB, free: 19.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3471, allocations: 0 / 436.6 MB, free: 19.59 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.002694/0.3498, allocations: 0.826 MB / 437.4 MB, free: 18.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.3499, allocations: 10.03 kB / 437.4 MB, free: 18.99 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.3499, allocations: 47.12 kB / 437.4 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.3501, allocations: 19.88 kB / 437.5 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.3502, allocations: 179.4 kB / 437.6 MB, free: 18.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3502, allocations: 6.5 kB / 437.6 MB, free: 18.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3502, allocations: 6.844 kB / 437.6 MB, free: 18.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.3506, allocations: 223.4 kB / 437.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3506, allocations: 1.641 kB / 437.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3507, allocations: 7.484 kB / 437.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3507, allocations: 3.031 kB / 437.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.3511, allocations: 424.8 kB / 438.3 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.3514, allocations: 307.8 kB / 438.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3516, allocations: 232.5 kB / 438.8 MB, free: 18.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3517, allocations: 208.7 kB / 439 MB, free: 18.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.3663, allocations: 10.02 MB / 449 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3664, allocations: 36.66 kB / 449.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.3664, allocations: 4 kB / 449.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006496/0.3671, allocations: 0.5812 MB / 449.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.3671, allocations: 53.84 kB / 449.7 MB, free: 9.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.21e-05/0.3672, allocations: 99.95 kB / 449.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3672, allocations: 25.7 kB / 449.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.3672, allocations: 80.8 kB / 449.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3673, allocations: 134.2 kB / 450 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3673, allocations: 45.97 kB / 450.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.3674, allocations: 329.2 kB / 450.4 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3675, allocations: 158.5 kB / 450.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3677, allocations: 162.4 kB / 450.7 MB, free: 8.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.368, allocations: 382.2 kB / 451.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.368, allocations: 0 / 451.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003367/0.3683, allocations: 404.1 kB / 451.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3683, allocations: 3.219 kB / 451.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3684, allocations: 2.531 kB / 451.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3684, allocations: 3.094 kB / 451.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.3685, allocations: 28.25 kB / 451.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3685, allocations: 0 / 451.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.3686, allocations: 11.22 kB / 451.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3686, allocations: 6.906 kB / 451.5 MB, free: 8.473 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.3686, allocations: 120.2 kB / 451.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3687, allocations: 14.12 kB / 451.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.3692, allocations: 0.6218 MB / 452.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3692, allocations: 2 kB / 452.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3692, allocations: 0 / 452.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3692, allocations: 0 / 452.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/0.3699, allocations: 0.8981 MB / 453.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3699, allocations: 3.344 kB / 453.2 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.37, allocations: 31.25 kB / 453.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.37, allocations: 2.875 kB / 453.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.37, allocations: 4.562 kB / 453.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3701, allocations: 5.438 kB / 453.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3701, allocations: 5.938 kB / 453.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.3703, allocations: 260.7 kB / 453.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.3703, allocations: 90.64 kB / 453.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3704, allocations: 18.28 kB / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.3704, allocations: 2.75 kB / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3705, allocations: 20.19 kB / 453.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3705, allocations: 6.875 kB / 453.6 MB, free: 7.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3706, allocations: 177 kB / 453.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3706, allocations: 5.031 kB / 453.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002479/0.3731, allocations: 0.7926 MB / 454.6 MB, free: 7.074 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 (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.004046/0.3772, allocations: 2.048 MB / 456.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.3775, allocations: 285.8 kB / 456.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3775, allocations: 0 / 456.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.3776, allocations: 80.36 kB / 457 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.3782, allocations: 92.27 kB / 457.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.3807, allocations: 2.847 MB / 460 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3808, allocations: 0.7036 MB / 460.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.3809, allocations: 24.41 kB / 460.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.381, allocations: 39.02 kB / 460.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.381, allocations: 0 / 460.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/0.4319, allocations: 28.91 MB / 489.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.4322, allocations: 258.6 kB / 489.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.371/3.803, allocations: 0 / 489.9 MB, free: 9.18 MB / 350.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/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)