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.0007159/0.0007159, allocations: 91.38 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.00558/0.00558, allocations: 171.4 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.358/1.358, 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.0453/0.0453, allocations: 9.066 MB / 279.8 MB, free: 12.14 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.0004813/0.0004813, allocations: 12 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08911, allocations: 49.19 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01798/0.1071, allocations: 17.03 MB / 406.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.1201, allocations: 14.27 MB / 420.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1203, allocations: 0 / 420.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.1213, allocations: 335.9 kB / 420.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.1241, allocations: 1.404 MB / 422.1 MB, free: 7.145 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.01146/0.1356, allocations: 4.033 MB / 426.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1359, allocations: 147.1 kB / 426.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.1359, allocations: 9.125 kB / 426.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.136, allocations: 59.73 kB / 426.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.1361, allocations: 51.66 kB / 426.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1362, allocations: 4 kB / 426.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1838/0.3199, allocations: 9.259 MB / 435.6 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.36e-05/0.32, allocations: 17.61 kB / 435.6 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3201, allocations: 78.7 kB / 435.7 MB, free: 18.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009171/0.3293, allocations: 3.634 MB / 439.3 MB, free: 18.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3293, allocations: 0.6562 kB / 439.4 MB, free: 18.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3293, allocations: 0.8125 kB / 439.4 MB, free: 18.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3293, allocations: 0.5625 kB / 439.4 MB, free: 18.7 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.001801/0.3311, allocations: 0.8213 MB / 440.2 MB, free: 18.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3312, allocations: 9.125 kB / 440.2 MB, free: 18.1 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.3312, allocations: 42.45 kB / 440.2 MB, free: 18.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3313, allocations: 25.47 kB / 440.2 MB, free: 18.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.3314, allocations: 181.3 kB / 440.4 MB, free: 17.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3315, allocations: 2.812 kB / 440.4 MB, free: 17.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3315, allocations: 7.969 kB / 440.4 MB, free: 17.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.3317, allocations: 221.2 kB / 440.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3318, allocations: 0 / 440.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3318, allocations: 1.5 kB / 440.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3318, allocations: 11.67 kB / 440.7 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3322, allocations: 421.5 kB / 441.1 MB, free: 17.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3325, allocations: 317.2 kB / 441.4 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3327, allocations: 226.5 kB / 441.6 MB, free: 17.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3328, allocations: 212.9 kB / 441.8 MB, free: 17.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/0.345, allocations: 9.828 MB / 451.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3451, allocations: 33.25 kB / 451.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/0.3451, allocations: 0 / 451.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006041/0.3457, allocations: 0.5847 MB / 452.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3458, allocations: 55.41 kB / 452.3 MB, free: 8.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.3458, allocations: 93.42 kB / 452.4 MB, free: 8.219 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3459, allocations: 28.89 kB / 452.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.3459, allocations: 80.8 kB / 452.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.346, allocations: 132.5 kB / 452.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.346, allocations: 31.91 kB / 452.7 MB, free: 8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.3461, allocations: 326.6 kB / 453 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3462, allocations: 162.5 kB / 453.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3463, allocations: 167.8 kB / 453.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3466, allocations: 378.5 kB / 453.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3467, allocations: 0 / 453.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003576/0.347, allocations: 402.8 kB / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.347, allocations: 7.719 kB / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3471, allocations: 0 / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3471, allocations: 1.312 kB / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.3472, allocations: 18.19 kB / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3472, allocations: 3.625 kB / 454.1 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.3473, allocations: 22.5 kB / 454.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3473, allocations: 4 kB / 454.1 MB, free: 7.59 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 8.224e-05/0.3474, allocations: 120.1 kB / 454.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.3474, allocations: 12.53 kB / 454.3 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.348, allocations: 0.6196 MB / 454.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.348, allocations: 1.125 kB / 454.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.348, allocations: 0 / 454.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.348, allocations: 8.75 kB / 454.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.3487, allocations: 0.894 MB / 455.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3487, allocations: 2.75 kB / 455.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.3488, allocations: 23.53 kB / 455.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3488, allocations: 4.125 kB / 455.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3488, allocations: 12.05 kB / 455.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3488, allocations: 2.75 kB / 455.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3488, allocations: 5.656 kB / 455.8 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3491, allocations: 260.5 kB / 456.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.3492, allocations: 131.4 kB / 456.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.3492, allocations: 6.734 kB / 456.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.3493, allocations: 4.125 kB / 456.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3493, allocations: 13.08 kB / 456.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3493, allocations: 12.05 kB / 456.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.3495, allocations: 181.1 kB / 456.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3495, allocations: 0 / 456.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002939/0.3524, allocations: 0.7932 MB / 457.2 MB, free: 5.977 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.004022/0.3565, allocations: 2.052 MB / 459.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.3568, allocations: 282.9 kB / 459.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3568, allocations: 3.312 kB / 459.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.3569, allocations: 76.55 kB / 459.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.3575, allocations: 92.67 kB / 459.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3601, allocations: 2.882 MB / 462.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.3604, allocations: 0.707 MB / 463.3 MB, free: 18.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.082e-05/0.3605, allocations: 19.53 kB / 463.3 MB, free: 18.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.3606, allocations: 44.27 kB / 463.4 MB, free: 18.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3606, allocations: 0 / 463.4 MB, free: 18.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.407, allocations: 28.78 MB / 492.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.4072, allocations: 254.8 kB / 492.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/3.488, allocations: 0 / 492.4 MB, free: 7.844 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)