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.0008892/0.0008895, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00095/0.0009501, allocations: 177.3 kB / 15.95 MB, free: 216 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.288/1.288, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04164/0.04164, allocations: 9.056 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.0004824/0.0004824, allocations: 16 kB / 339.2 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08535, allocations: 49.18 MB / 388.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01448/0.09987, allocations: 14.46 MB / 402.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.111, allocations: 11.93 MB / 414.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1112, allocations: 0 / 414.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.112, allocations: 334.8 kB / 415.1 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.1146, allocations: 1.372 MB / 416.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009392/0.124, allocations: 3.868 MB / 420.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1242, allocations: 111.8 kB / 420.4 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.1243, allocations: 13.11 kB / 420.4 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1244, allocations: 59.72 kB / 420.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.1245, allocations: 47.78 kB / 420.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1245, allocations: 7.938 kB / 420.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1843/0.3089, allocations: 9.482 MB / 430 MB, free: 19.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3089, allocations: 13.75 kB / 430 MB, free: 19.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.309, allocations: 44.7 kB / 430.1 MB, free: 19.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.3138, allocations: 2.008 MB / 432.1 MB, free: 19.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3139, allocations: 1.312 kB / 432.1 MB, free: 19.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3139, allocations: 0.9375 kB / 432.1 MB, free: 19.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3139, allocations: 0 / 432.1 MB, free: 19.23 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.0023/0.3162, allocations: 0.8016 MB / 432.9 MB, free: 18.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3163, allocations: 9.188 kB / 432.9 MB, free: 18.64 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.3163, allocations: 50.53 kB / 433 MB, free: 18.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3164, allocations: 19.36 kB / 433 MB, free: 18.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3166, allocations: 181 kB / 433.2 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3166, allocations: 2.641 kB / 433.2 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3166, allocations: 11.45 kB / 433.2 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.317, allocations: 212.9 kB / 433.4 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.317, allocations: 0 / 433.4 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.317, allocations: 2.469 kB / 433.4 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.317, allocations: 6.906 kB / 433.4 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.3176, allocations: 426 kB / 433.8 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.318, allocations: 308.9 kB / 434.1 MB, free: 18.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3182, allocations: 231 kB / 434.3 MB, free: 18.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.3316, allocations: 9.861 MB / 444.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3316, allocations: 31.34 kB / 444.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.3316, allocations: 0 / 444.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007934/0.3324, allocations: 0.7391 MB / 445 MB, free: 8.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.3325, allocations: 64.91 kB / 445 MB, free: 8.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.3325, allocations: 96.02 kB / 445.1 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.3326, allocations: 25.7 kB / 445.1 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.3326, allocations: 82.39 kB / 445.2 MB, free: 8.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.3327, allocations: 131 kB / 445.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.3327, allocations: 0 / 445.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.3328, allocations: 327.7 kB / 445.7 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.3329, allocations: 160.1 kB / 445.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3331, allocations: 163.1 kB / 446 MB, free: 8.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3333, allocations: 181.7 kB / 446.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3333, allocations: 3.328 kB / 446.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005448/0.3339, allocations: 406.3 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3339, allocations: 7.938 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3339, allocations: 3.562 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3339, allocations: 1.438 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.334, allocations: 20.58 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3341, allocations: 2.75 kB / 446.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.3341, allocations: 18.36 kB / 446.6 MB, free: 7.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3342, allocations: 13.11 kB / 446.6 MB, free: 7.961 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 6.874e-05/0.3342, allocations: 116.5 kB / 446.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.3343, allocations: 12.5 kB / 446.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3348, allocations: 0.6222 MB / 447.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3348, allocations: 2.75 kB / 447.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3348, allocations: 0 / 447.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3348, allocations: 4 kB / 447.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.3356, allocations: 0.9024 MB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3356, allocations: 3.297 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.3357, allocations: 23.11 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.3357, allocations: 3.844 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3357, allocations: 8.125 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.3357, allocations: 8.812 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3357, allocations: 5.312 kB / 448.3 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.336, allocations: 383.3 kB / 448.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.3361, allocations: 126.3 kB / 448.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.3361, allocations: 7.75 kB / 448.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3362, allocations: 10.75 kB / 448.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3362, allocations: 11.25 kB / 448.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3362, allocations: 11.2 kB / 448.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3364, allocations: 175 kB / 449.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3364, allocations: 0 / 449.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003432/0.3398, allocations: 0.7867 MB / 449.8 MB, free: 6.402 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.005027/0.3448, allocations: 2.839 MB / 452.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.3452, allocations: 291 kB / 453 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3452, allocations: 0 / 453 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.3452, allocations: 74.58 kB / 453 MB, free: 4.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3456, allocations: 47.72 kB / 453.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3469, allocations: 0.834 MB / 453.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.347, allocations: 0.7101 MB / 454.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.3471, allocations: 21.14 kB / 454.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.3471, allocations: 38.55 kB / 454.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3471, allocations: 0 / 454.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0492/0.3964, allocations: 27.79 MB / 482.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.3966, allocations: 234.8 kB / 482.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.163, allocations: 12 kB / 482.7 MB, free: 15.44 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/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: