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.001088/0.001088, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001082/0.001082, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04497/0.04497, allocations: 9.082 MB / 278.5 MB, free: 12.34 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.001363/0.001363, allocations: 63.91 kB / 337.6 MB, free: 25.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09265, allocations: 48.17 MB / 385.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02046/0.1132, allocations: 17.29 MB / 403.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.1278, allocations: 14.2 MB / 417.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.128, allocations: 4 kB / 417.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.129, allocations: 348 kB / 417.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.1325, allocations: 1.462 MB / 419.1 MB, free: 8.039 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.01317/0.1457, allocations: 4.298 MB / 423.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1459, allocations: 143.2 kB / 423.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.146, allocations: 13 kB / 423.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1461, allocations: 63.73 kB / 423.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.1462, allocations: 51.72 kB / 423.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1462, allocations: 4 kB / 423.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2181/0.3643, allocations: 9.868 MB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.3644, allocations: 17.28 kB / 433.5 MB, free: 20.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3646, allocations: 55.16 kB / 433.6 MB, free: 20.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.3792, allocations: 3.809 MB / 437.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3793, allocations: 0.5 kB / 437.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3793, allocations: 0 / 437.4 MB, free: 20.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3793, allocations: 0.5312 kB / 437.4 MB, free: 20.09 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.002639/0.382, allocations: 0.8311 MB / 438.2 MB, free: 19.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.382, allocations: 9.75 kB / 438.2 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.3821, allocations: 49.97 kB / 438.3 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3822, allocations: 20.78 kB / 438.3 MB, free: 19.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.3823, allocations: 174.4 kB / 438.5 MB, free: 19.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3823, allocations: 7.469 kB / 438.5 MB, free: 19.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.3824, allocations: 6.641 kB / 438.5 MB, free: 19.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.3827, allocations: 221.7 kB / 438.7 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3827, allocations: 0 / 438.7 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3827, allocations: 5.031 kB / 438.7 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3827, allocations: 6.281 kB / 438.7 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.3832, allocations: 420.3 kB / 439.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.3835, allocations: 305.7 kB / 439.4 MB, free: 19.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3837, allocations: 230.1 kB / 439.7 MB, free: 18.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.3839, allocations: 219.1 kB / 439.9 MB, free: 18.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/0.3984, allocations: 10.03 MB / 449.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3985, allocations: 34.56 kB / 449.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.3985, allocations: 3.469 kB / 449.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007236/0.3992, allocations: 0.582 MB / 450.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.3993, allocations: 55.3 kB / 450.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.3994, allocations: 92.67 kB / 450.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3994, allocations: 28.64 kB / 450.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.3994, allocations: 84.73 kB / 450.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.3995, allocations: 129.6 kB / 450.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3995, allocations: 43.97 kB / 450.9 MB, free: 9.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.3996, allocations: 329.1 kB / 451.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3997, allocations: 152.6 kB / 451.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.3999, allocations: 170.4 kB / 451.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.4002, allocations: 369.8 kB / 451.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4002, allocations: 2.625 kB / 451.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004191/0.4007, allocations: 410.5 kB / 452.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4007, allocations: 4.406 kB / 452.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4007, allocations: 0 / 452.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.4007, allocations: 5.969 kB / 452.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.4008, allocations: 20.16 kB / 452.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4008, allocations: 0.9688 kB / 452.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.855e-05/0.4009, allocations: 14.88 kB / 452.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.4009, allocations: 3.625 kB / 452.4 MB, free: 8.945 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 7.409e-05/0.401, allocations: 126.2 kB / 452.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.401, allocations: 11.97 kB / 452.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.4016, allocations: 0.6265 MB / 453.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4016, allocations: 0.875 kB / 453.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4016, allocations: 1.156 kB / 453.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4016, allocations: 0 / 453.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.4023, allocations: 0.8977 MB / 454 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4023, allocations: 6.344 kB / 454.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.4024, allocations: 23.12 kB / 454.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4024, allocations: 8.391 kB / 454.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4025, allocations: 8.875 kB / 454.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4025, allocations: 5.906 kB / 454.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4025, allocations: 7.406 kB / 454.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.4027, allocations: 257.8 kB / 454.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.4027, allocations: 90.17 kB / 454.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4028, allocations: 17.17 kB / 454.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4028, allocations: 8.906 kB / 454.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.4029, allocations: 11.17 kB / 454.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4029, allocations: 7.219 kB / 454.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.403, allocations: 183.7 kB / 454.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.403, allocations: 0 / 454.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002992/0.406, allocations: 0.7979 MB / 455.5 MB, free: 7.539 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.004049/0.4101, allocations: 2.047 MB / 457.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.4104, allocations: 287.8 kB / 457.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4104, allocations: 2.25 kB / 457.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.4105, allocations: 74.81 kB / 457.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.411, allocations: 94.94 kB / 458 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.4135, allocations: 2.845 MB / 460.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.4137, allocations: 0.7058 MB / 461.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.176e-05/0.4138, allocations: 23.08 kB / 461.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.4138, allocations: 37.92 kB / 461.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4138, allocations: 0.6875 kB / 461.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05075/0.4646, allocations: 29.15 MB / 490.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.4648, allocations: 258.8 kB / 491 MB, free: 8.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/3.516, allocations: 3.938 kB / 491 MB, free: 8.457 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)