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.00765/0.00765, allocations: 99.48 kB / 15.73 MB, free: 6.043 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.001735/0.001735, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04762/0.04762, allocations: 9.092 MB / 279 MB, free: 2.969 MB / 222.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.002209/0.002209, allocations: 72.08 kB / 386.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 48.18 MB / 435.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02094/0.1365, allocations: 17.29 MB / 452.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1531, allocations: 14.25 MB / 466.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.1533, allocations: 7.938 kB / 466.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.1549, allocations: 376.5 kB / 467 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.1589, allocations: 1.551 MB / 468.6 MB, free: 6.539 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/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.01549/0.1744, allocations: 4.804 MB / 473.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.1748, allocations: 143.2 kB / 473.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.257e-05/0.1748, allocations: 9.109 kB / 473.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.175, allocations: 63.61 kB / 473.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.1751, allocations: 51.78 kB / 473.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1751, allocations: 0 / 473.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.1937, allocations: 9.841 MB / 483.5 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.1938, allocations: 19.86 kB / 483.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.194, allocations: 47.75 kB / 483.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.2046, allocations: 3.8 MB / 487.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2046, allocations: 0 / 487.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2046, allocations: 0 / 487.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.2046, allocations: 0 / 487.4 MB, free: 3.719 MB / 366.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.001595/0.2062, allocations: 0.8305 MB / 488.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.2063, allocations: 12.03 kB / 488.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.2064, allocations: 58.48 kB / 488.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2065, allocations: 19.8 kB / 488.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2067, allocations: 170.9 kB / 488.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.2067, allocations: 4 kB / 488.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.2067, allocations: 8 kB / 488.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.207, allocations: 218.5 kB / 488.7 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2071, allocations: 3.938 kB / 488.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2071, allocations: 4 kB / 488.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2071, allocations: 11.98 kB / 488.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.2075, allocations: 420.1 kB / 489.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.2079, allocations: 307.1 kB / 489.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.2081, allocations: 218.8 kB / 489.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.2083, allocations: 217.1 kB / 489.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.2243, allocations: 10.03 MB / 499.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.2243, allocations: 42.44 kB / 499.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.895e-06/0.2243, allocations: 0 / 499.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007745/0.2251, allocations: 0.5773 MB / 0.4887 GB, free: 4.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2252, allocations: 59.34 kB / 0.4888 GB, free: 4.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2253, allocations: 97.86 kB / 0.4889 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2253, allocations: 29.7 kB / 0.4889 GB, free: 4.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.2253, allocations: 80.8 kB / 0.489 GB, free: 4.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2255, allocations: 130 kB / 0.4891 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.2255, allocations: 37.7 kB / 0.4892 GB, free: 4.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2257, allocations: 322.8 kB / 0.4895 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2258, allocations: 163.9 kB / 0.4896 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.226, allocations: 171.6 kB / 0.4898 GB, free: 3.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.2264, allocations: 371.6 kB / 0.4901 GB, free: 3.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2264, allocations: 0 / 0.4901 GB, free: 3.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004863/0.2269, allocations: 414.9 kB / 0.4905 GB, free: 2.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2269, allocations: 4 kB / 0.4905 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.227, allocations: 0 / 0.4905 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.227, allocations: 0 / 0.4905 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.2271, allocations: 27.92 kB / 0.4906 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2271, allocations: 0 / 0.4906 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.2272, allocations: 15.83 kB / 0.4906 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.2272, allocations: 4 kB / 0.4906 GB, free: 2.688 MB / 382.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 9.776e-05/0.2273, allocations: 124.9 kB / 0.4907 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2273, allocations: 15.75 kB / 0.4907 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.228, allocations: 0.6159 MB / 0.4913 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2281, allocations: 3.938 kB / 0.4913 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2281, allocations: 0 / 0.4913 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2281, allocations: 3.984 kB / 0.4913 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2291, allocations: 0.901 MB / 0.4922 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2291, allocations: 8.031 kB / 0.4922 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.2292, allocations: 19.98 kB / 0.4922 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/0.2292, allocations: 4 kB / 0.4922 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2292, allocations: 4 kB / 0.4922 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.2292, allocations: 15.88 kB / 0.4923 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2292, allocations: 7.984 kB / 0.4923 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.2296, allocations: 261.3 kB / 0.4925 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.2296, allocations: 85.11 kB / 0.4926 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2297, allocations: 19.84 kB / 0.4926 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.2298, allocations: 7.938 kB / 0.4926 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.2298, allocations: 7.984 kB / 0.4926 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2298, allocations: 12 kB / 0.4926 GB, free: 324 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.23, allocations: 171.2 kB / 0.4928 GB, free: 152 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.23, allocations: 0 / 0.4928 GB, free: 152 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002655/0.2327, allocations: 0.7963 MB / 0.4936 GB, free: 15.35 MB / 398.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.00637/0.239, allocations: 2.032 MB / 0.4956 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.2395, allocations: 291.8 kB / 0.4959 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2395, allocations: 0 / 0.4959 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2397, allocations: 79.83 kB / 0.4959 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.2403, allocations: 89.47 kB / 0.496 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.2446, allocations: 2.83 MB / 0.4988 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.245, allocations: 0.7045 MB / 0.4995 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.2451, allocations: 28.05 kB / 0.4995 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.2452, allocations: 39.42 kB / 0.4995 GB, free: 9.047 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2452, allocations: 0 / 0.4995 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3106/0.5559, allocations: 29.32 MB / 0.5282 GB, free: 95.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/9.426, allocations: 2.453 kB / 0.5282 GB, free: 95.73 MB / 414.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)