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.001282/0.001282, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001385/0.001385, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.3/1.3, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 179] 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.04877/0.04877, allocations: 9.141 MB / 291.5 MB, free: 7.172 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.002115/0.002115, allocations: 78.39 kB / 406.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.235, allocations: 50.71 MB / 457.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01954/0.2545, allocations: 17.36 MB / 474.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.2695, allocations: 14.3 MB / 488.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.2697, allocations: 0 / 488.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.271, allocations: 425.7 kB / 489.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.2747, allocations: 1.566 MB / 490.9 MB, free: 6.168 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.0144/0.2892, allocations: 5.098 MB / 496 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2895, allocations: 151.1 kB / 496.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.2895, allocations: 5.125 kB / 496.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.2897, allocations: 67.7 kB / 496.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.2897, allocations: 39.8 kB / 496.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2897, allocations: 7.938 kB / 496.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01856/0.3083, allocations: 10.03 MB / 0.4944 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.3083, allocations: 15.92 kB / 0.4945 GB, free: 6.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3085, allocations: 55.67 kB / 0.4945 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.3207, allocations: 3.807 MB / 0.4982 GB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3207, allocations: 0 / 0.4982 GB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3207, allocations: 0 / 0.4982 GB, free: 2.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3207, allocations: 0 / 0.4982 GB, free: 2.848 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.001978/0.3227, allocations: 0.8655 MB / 0.4991 GB, free: 1.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3227, allocations: 16.03 kB / 0.4991 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.191e-05/0.3227, allocations: 4 kB / 0.4991 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.3228, allocations: 42.55 kB / 0.4991 GB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3229, allocations: 23.91 kB / 0.4992 GB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3231, allocations: 178.9 kB / 0.4993 GB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3231, allocations: 4 kB / 0.4993 GB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3231, allocations: 4 kB / 0.4993 GB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3234, allocations: 222.5 kB / 0.4996 GB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3234, allocations: 11.88 kB / 0.4996 GB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3234, allocations: 4 kB / 0.4996 GB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3234, allocations: 7.984 kB / 0.4996 GB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.3239, allocations: 420.1 kB / 0.5 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3242, allocations: 303.2 kB / 0.5003 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3245, allocations: 182.8 kB / 0.5004 GB, free: 432 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3246, allocations: 169.1 kB / 0.5006 GB, free: 260 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01645/0.3411, allocations: 10.03 MB / 0.5104 GB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.3411, allocations: 30.56 kB / 0.5104 GB, free: 4.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.3411, allocations: 3.938 kB / 0.5104 GB, free: 4.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.000834/0.342, allocations: 0.5852 MB / 0.511 GB, free: 3.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.342, allocations: 59.39 kB / 0.5111 GB, free: 3.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.3421, allocations: 93.86 kB / 0.5111 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3421, allocations: 29.7 kB / 0.5112 GB, free: 3.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3422, allocations: 80.8 kB / 0.5112 GB, free: 3.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3423, allocations: 138.7 kB / 0.5114 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.3424, allocations: 37.7 kB / 0.5114 GB, free: 3.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3425, allocations: 326.8 kB / 0.5117 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3427, allocations: 160.1 kB / 0.5119 GB, free: 2.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3428, allocations: 163.9 kB / 0.512 GB, free: 2.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.3432, allocations: 371.5 kB / 0.5124 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3432, allocations: 0 / 0.5124 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004636/0.3437, allocations: 414.9 kB / 0.5128 GB, free: 1.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3437, allocations: 4 kB / 0.5128 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3437, allocations: 0 / 0.5128 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3437, allocations: 4 kB / 0.5128 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.3438, allocations: 15.98 kB / 0.5128 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3438, allocations: 4 kB / 0.5128 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.3439, allocations: 15.89 kB / 0.5128 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3439, allocations: 4 kB / 0.5128 GB, free: 1.859 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.000105/0.344, allocations: 121.8 kB / 0.5129 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.344, allocations: 19.78 kB / 0.513 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.3447, allocations: 0.6243 MB / 0.5136 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3447, allocations: 0 / 0.5136 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3447, allocations: 0 / 0.5136 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3447, allocations: 4 kB / 0.5136 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3458, allocations: 0.9011 MB / 0.5145 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3458, allocations: 3.938 kB / 0.5145 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.3459, allocations: 23.94 kB / 0.5145 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3459, allocations: 4 kB / 0.5145 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3459, allocations: 7.938 kB / 0.5145 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3459, allocations: 4 kB / 0.5145 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3459, allocations: 11.94 kB / 0.5145 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3463, allocations: 269.6 kB / 0.5148 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.3464, allocations: 93.03 kB / 0.5149 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.3464, allocations: 15.83 kB / 0.5149 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3465, allocations: 8 kB / 0.5149 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.3465, allocations: 11.92 kB / 0.5149 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3465, allocations: 8 kB / 0.5149 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3467, allocations: 175.2 kB / 0.5151 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3467, allocations: 4 kB / 0.5151 GB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002323/0.349, allocations: 0.802 MB / 0.5159 GB, free: 14.49 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.005001/0.354, allocations: 2.078 MB / 0.5179 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3545, allocations: 251.7 kB / 0.5181 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3545, allocations: 0 / 0.5181 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.3546, allocations: 71.84 kB / 0.5182 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.3552, allocations: 84.52 kB / 0.5183 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.3592, allocations: 2.839 MB / 0.521 GB, free: 8.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3596, allocations: 0.7122 MB / 0.5217 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.3597, allocations: 12.5 kB / 0.5218 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.3598, allocations: 39.42 kB / 0.5218 GB, free: 8.176 MB / 398.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3598, allocations: 0 / 0.5218 GB, free: 8.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.4226, allocations: 29.32 MB / 0.5504 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.081/9.504, allocations: 4.5 kB / 0.5504 GB, free: 10.89 MB / 430.1 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 11.728663557965774] Failed to read output from testmodel.py, exit status != 0: 9.647978871013038 9.669330304 9.345566165 Calling exit ...