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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 207.6 MB / 233 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06384/0.06384, allocations: 9.148 MB / 294.4 MB, free: 12.7 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003783/0.003783, allocations: 77.03 kB / 411.1 MB, free: 46.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07596, allocations: 50.75 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02183/0.09779, allocations: 17.41 MB / 479.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.1136, allocations: 14.29 MB / 493.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1137, allocations: 0 / 493.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1147, allocations: 427.6 kB / 493.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.118, allocations: 1.613 MB / 495.6 MB, free: 10.88 MB / 366.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.012/0.13, allocations: 5.133 MB / 0.4889 GB, free: 5.723 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1303, allocations: 147.1 kB / 0.4891 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1303, allocations: 5.312 kB / 0.4891 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1304, allocations: 67.66 kB / 0.4892 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.1305, allocations: 43.73 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1305, allocations: 4 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.1479, allocations: 10.34 MB / 0.4993 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.1479, allocations: 19.91 kB / 0.4993 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1481, allocations: 55.62 kB / 0.4994 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007946/0.156, allocations: 3.795 MB / 0.5031 GB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.156, allocations: 0 / 0.5031 GB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.156, allocations: 0 / 0.5031 GB, free: 7.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.156, allocations: 3.938 kB / 0.5031 GB, free: 7.211 MB / 382.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.00156/0.1576, allocations: 0.7825 MB / 0.5039 GB, free: 6.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1576, allocations: 19.98 kB / 0.5039 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.1577, allocations: 46.55 kB / 0.5039 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1578, allocations: 19.89 kB / 0.5039 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1579, allocations: 117.1 kB / 0.504 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1579, allocations: 4 kB / 0.504 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1579, allocations: 12 kB / 0.5041 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1582, allocations: 226.6 kB / 0.5043 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1582, allocations: 7.875 kB / 0.5043 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1583, allocations: 4 kB / 0.5043 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1583, allocations: 7.984 kB / 0.5043 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1587, allocations: 448 kB / 0.5047 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1591, allocations: 286.5 kB / 0.505 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1593, allocations: 186.8 kB / 0.5052 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.1595, allocations: 181.1 kB / 0.5053 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01297/0.1725, allocations: 2.791 MB / 0.5081 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.1725, allocations: 34.5 kB / 0.5081 GB, free: 1.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/0.1725, allocations: 4 kB / 0.5081 GB, free: 1.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009029/0.1734, allocations: 0.6135 MB / 0.5087 GB, free: 1.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1734, allocations: 51.41 kB / 0.5088 GB, free: 1.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1735, allocations: 101.8 kB / 0.5089 GB, free: 1.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1736, allocations: 29.7 kB / 0.5089 GB, free: 1.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.1736, allocations: 80.8 kB / 0.509 GB, free: 1.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1737, allocations: 138.8 kB / 0.5091 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.1738, allocations: 33.7 kB / 0.5091 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.174, allocations: 326.8 kB / 0.5094 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1742, allocations: 167.9 kB / 0.5096 GB, free: 360 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1744, allocations: 179.8 kB / 0.5098 GB, free: 180 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.1748, allocations: 391.8 kB / 0.5101 GB, free: 15.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1748, allocations: 0 / 0.5101 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005096/0.1753, allocations: 443.7 kB / 0.5106 GB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1753, allocations: 8 kB / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1753, allocations: 0 / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1753, allocations: 0 / 0.5106 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1754, allocations: 20 kB / 0.5106 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1755, allocations: 3.984 kB / 0.5106 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.1755, allocations: 15.83 kB / 0.5106 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1755, allocations: 7.938 kB / 0.5106 GB, free: 15.29 MB / 398.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 0.0001058/0.1756, allocations: 125.8 kB / 0.5107 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.1757, allocations: 19.78 kB / 0.5108 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.1764, allocations: 0.6202 MB / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1764, allocations: 4 kB / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.1764, allocations: 0 / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1764, allocations: 0 / 0.5114 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1775, allocations: 0.8999 MB / 0.5122 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1775, allocations: 4.344 kB / 0.5122 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.1776, allocations: 31.92 kB / 0.5123 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.1776, allocations: 4 kB / 0.5123 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1776, allocations: 4 kB / 0.5123 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1776, allocations: 7.938 kB / 0.5123 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.1776, allocations: 7.938 kB / 0.5123 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1779, allocations: 273.4 kB / 0.5126 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.1779, allocations: 8 kB / 0.5126 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.178, allocations: 27.88 kB / 0.5126 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1781, allocations: 3.938 kB / 0.5126 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.1781, allocations: 15.97 kB / 0.5126 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1781, allocations: 8 kB / 0.5126 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1783, allocations: 171.2 kB / 0.5128 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1783, allocations: 0 / 0.5128 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002018/0.1803, allocations: 0.8058 MB / 0.5136 GB, free: 12.02 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.004514/0.1848, allocations: 2.076 MB / 0.5156 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.1852, allocations: 271.7 kB / 0.5159 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1852, allocations: 0 / 0.5159 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1853, allocations: 79.84 kB / 0.5159 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1859, allocations: 84.52 kB / 0.516 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.1896, allocations: 2.908 MB / 0.5189 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.19, allocations: 0.7084 MB / 0.5195 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.037e-05/0.1901, allocations: 21.78 kB / 0.5196 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1901, allocations: 39.42 kB / 0.5196 GB, free: 5.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1901, allocations: 0 / 0.5196 GB, free: 5.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/0.42, allocations: 29.45 MB / 0.5484 GB, free: 58.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.81, allocations: 11.2 kB / 0.5484 GB, free: 58.03 MB / 398.1 MB " [Timeout remaining time 647] (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 --stepSize=1 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.271220020018518] Failed to read output from testmodel.py, exit status != 0: 12.933408055920154 12.951041379 12.791271258 Calling exit ...