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.001261/0.001261, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001373/0.001373, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.334/1.334, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.07243/0.07243, allocations: 9.145 MB / 295.3 MB, free: 12.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="cs",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.002041/0.002041, allocations: 83.42 kB / 411.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07211/0.07415, allocations: 50.75 MB / 462.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01912/0.09327, allocations: 15.68 MB / 478.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1061, allocations: 12.57 MB / 490.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.1062, allocations: 0 / 490.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009707/0.1072, allocations: 335.8 kB / 491.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.1102, allocations: 1.601 MB / 492.8 MB, free: 14.24 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.01118/0.1214, allocations: 5.059 MB / 497.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1216, allocations: 143.2 kB / 498 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.1217, allocations: 9.312 kB / 498 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1218, allocations: 67.72 kB / 498 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.1218, allocations: 47.72 kB / 498.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1218, allocations: 4 kB / 498.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.1342, allocations: 7.275 MB / 0.4935 GB, free: 1.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.1342, allocations: 15.92 kB / 0.4935 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.1343, allocations: 47.73 kB / 0.4936 GB, free: 1.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.1419, allocations: 3.148 MB / 0.4967 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1419, allocations: 0 / 0.4967 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1419, allocations: 0 / 0.4967 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1419, allocations: 0 / 0.4967 GB, free: 14.39 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.001642/0.1436, allocations: 0.7863 MB / 0.4974 GB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1436, allocations: 15.98 kB / 0.4974 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.228e-05/0.1436, allocations: 0 / 0.4974 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1437, allocations: 54.48 kB / 0.4975 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1438, allocations: 19.89 kB / 0.4975 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1439, allocations: 117.1 kB / 0.4976 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.1439, allocations: 0 / 0.4976 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.1439, allocations: 11.94 kB / 0.4976 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1442, allocations: 234.5 kB / 0.4979 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1442, allocations: 0 / 0.4979 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1443, allocations: 0 / 0.4979 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1443, allocations: 7.984 kB / 0.4979 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.1447, allocations: 444.1 kB / 0.4983 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.145, allocations: 282.5 kB / 0.4986 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1452, allocations: 190.8 kB / 0.4987 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1454, allocations: 181.1 kB / 0.4989 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/0.1581, allocations: 2.803 MB / 0.5016 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1582, allocations: 30.56 kB / 0.5017 GB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.505e-06/0.1582, allocations: 0 / 0.5017 GB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007735/0.1589, allocations: 0.6213 MB / 0.5023 GB, free: 8.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.159, allocations: 55.34 kB / 0.5023 GB, free: 8.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.159, allocations: 93.86 kB / 0.5024 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1591, allocations: 29.7 kB / 0.5025 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1591, allocations: 80.8 kB / 0.5025 GB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1592, allocations: 134.8 kB / 0.5027 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.1593, allocations: 37.7 kB / 0.5027 GB, free: 8.016 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1594, allocations: 322.8 kB / 0.503 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1596, allocations: 171.9 kB / 0.5032 GB, free: 7.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1598, allocations: 179.8 kB / 0.5033 GB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.1601, allocations: 391.7 kB / 0.5037 GB, free: 6.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1601, allocations: 0 / 0.5037 GB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004708/0.1606, allocations: 447.7 kB / 0.5041 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1606, allocations: 4 kB / 0.5041 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1606, allocations: 0 / 0.5041 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1607, allocations: 0 / 0.5041 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1608, allocations: 19.98 kB / 0.5042 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1608, allocations: 0 / 0.5042 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.1608, allocations: 19.83 kB / 0.5042 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1608, allocations: 8 kB / 0.5042 GB, free: 6.465 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 0.0001017/0.1609, allocations: 117.8 kB / 0.5043 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.161, allocations: 19.84 kB / 0.5043 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.1616, allocations: 0.6318 MB / 0.5049 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1616, allocations: 4 kB / 0.5049 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1616, allocations: 0 / 0.5049 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1616, allocations: 0 / 0.5049 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.1626, allocations: 0.9001 MB / 0.5058 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1626, allocations: 0 / 0.5058 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.1627, allocations: 27.92 kB / 0.5058 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1627, allocations: 0 / 0.5058 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1627, allocations: 11.88 kB / 0.5059 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1627, allocations: 4 kB / 0.5059 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1627, allocations: 4 kB / 0.5059 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.163, allocations: 269.5 kB / 0.5061 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.163, allocations: 4.125 kB / 0.5061 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.1631, allocations: 31.81 kB / 0.5062 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1631, allocations: 4 kB / 0.5062 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1632, allocations: 15.92 kB / 0.5062 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1632, allocations: 8 kB / 0.5062 GB, free: 4.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1633, allocations: 171.2 kB / 0.5063 GB, free: 4.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1633, allocations: 0 / 0.5063 GB, free: 4.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001966/0.1653, allocations: 0.8097 MB / 0.5071 GB, free: 3.203 MB / 382.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.004061/0.1694, allocations: 2.075 MB / 0.5092 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1697, allocations: 259.8 kB / 0.5094 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1697, allocations: 0 / 0.5094 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.1698, allocations: 79.84 kB / 0.5095 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.1704, allocations: 88.52 kB / 0.5096 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.1736, allocations: 2.92 MB / 0.5124 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.42e-05/0.1737, allocations: 97.67 kB / 0.5125 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1737, allocations: 20.27 kB / 0.5125 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.1738, allocations: 47.42 kB / 0.5126 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1738, allocations: 0 / 0.5126 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2323/0.4061, allocations: 29.83 MB / 0.5417 GB, free: 60.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.58, allocations: 5.625 kB / 0.5417 GB, free: 60.05 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.114776622038335] Failed to read output from testmodel.py, exit status != 0: 12.756228284910321 12.776220459 12.630045756 Calling exit ...