Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_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.001267/0.001267, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001439/0.001439, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.368/1.368, allocations: 207.6 MB / 230.5 MB, free: 4.02 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.04909/0.04909, allocations: 9.14 MB / 291.5 MB, free: 7.18 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.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_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.002068/0.002068, allocations: 67.91 kB / 406.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2461, allocations: 50.72 MB / 457.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01908/0.2652, allocations: 17.47 MB / 474.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.2757, allocations: 10.12 MB / 484.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.2758, allocations: 8 kB / 484.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.2766, allocations: 299.6 kB / 485.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.277, allocations: 153.3 kB / 485.3 MB, free: 11.78 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.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.291, allocations: 5.848 MB / 491.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.2913, allocations: 159.2 kB / 491.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.2913, allocations: 5.406 kB / 491.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.2915, allocations: 95.5 kB / 491.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.308e-05/0.2916, allocations: 47.78 kB / 491.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2916, allocations: 4 kB / 491.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/0.3068, allocations: 9.209 MB / 0.4889 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.3068, allocations: 11.94 kB / 0.4889 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.3069, allocations: 51.73 kB / 0.489 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009365/0.3163, allocations: 3.503 MB / 0.4924 GB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3163, allocations: 0 / 0.4924 GB, free: 8.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3163, allocations: 0 / 0.4924 GB, free: 8.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3163, allocations: 0 / 0.4924 GB, free: 8.805 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00207/0.3183, allocations: 0.8269 MB / 0.4932 GB, free: 7.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3184, allocations: 8.031 kB / 0.4932 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.3184, allocations: 12 kB / 0.4932 GB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.3185, allocations: 42.48 kB / 0.4933 GB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3185, allocations: 7.953 kB / 0.4933 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3187, allocations: 182.9 kB / 0.4935 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3187, allocations: 0 / 0.4935 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3187, allocations: 4 kB / 0.4935 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.319, allocations: 121.5 kB / 0.4936 GB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.319, allocations: 4 kB / 0.4936 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3191, allocations: 0 / 0.4936 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3191, allocations: 0 / 0.4936 GB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.3195, allocations: 139.8 kB / 0.4937 GB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.32, allocations: 352.7 kB / 0.4941 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.3203, allocations: 102.5 kB / 0.4942 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3205, allocations: 80.8 kB / 0.4942 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.3331, allocations: 8.382 MB / 0.5024 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3332, allocations: 46.5 kB / 0.5025 GB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.3332, allocations: 0 / 0.5025 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008306/0.334, allocations: 277.4 kB / 0.5027 GB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3341, allocations: 51.41 kB / 0.5028 GB, free: 12.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3342, allocations: 138.2 kB / 0.5029 GB, free: 12.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3342, allocations: 25.7 kB / 0.5029 GB, free: 12.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.3343, allocations: 96.34 kB / 0.503 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3343, allocations: 47.58 kB / 0.5031 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3344, allocations: 17.72 kB / 0.5031 GB, free: 12.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3345, allocations: 326.8 kB / 0.5034 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3347, allocations: 75.94 kB / 0.5035 GB, free: 11.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3349, allocations: 71.95 kB / 0.5035 GB, free: 11.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.3353, allocations: 177.1 kB / 0.5037 GB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3353, allocations: 0 / 0.5037 GB, free: 11.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004623/0.3358, allocations: 197.5 kB / 0.5039 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3358, allocations: 5.406 kB / 0.5039 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3358, allocations: 0 / 0.5039 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3358, allocations: 4 kB / 0.5039 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.336, allocations: 19.97 kB / 0.5039 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.336, allocations: 4 kB / 0.5039 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.3361, allocations: 23.92 kB / 0.504 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3361, allocations: 0 / 0.504 GB, free: 11.21 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001006/0.3362, allocations: 125.7 kB / 0.5041 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3363, allocations: 11.91 kB / 0.5041 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.3368, allocations: 222.4 kB / 0.5043 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.3368, allocations: 3.984 kB / 0.5043 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3368, allocations: 0 / 0.5043 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3368, allocations: 4 kB / 0.5043 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3371, allocations: 213.5 kB / 0.5045 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3371, allocations: 0 / 0.5045 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3372, allocations: 27.91 kB / 0.5045 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3372, allocations: 4 kB / 0.5045 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3372, allocations: 4 kB / 0.5045 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3372, allocations: 4 kB / 0.5045 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3372, allocations: 4 kB / 0.5046 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.3377, allocations: 299.3 kB / 0.5048 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.3378, allocations: 101 kB / 0.5049 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3378, allocations: 7.938 kB / 0.5049 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.338, allocations: 11.98 kB / 0.505 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.338, allocations: 11.98 kB / 0.505 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.338, allocations: 4 kB / 0.505 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.3381, allocations: 102.5 kB / 0.5051 GB, free: 9.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 0.5051 GB, free: 9.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001887/0.34, allocations: 0.7358 MB / 0.5058 GB, free: 9.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003737/0.3437, allocations: 1.975 MB / 0.5077 GB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.3442, allocations: 167.8 kB / 0.5079 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3442, allocations: 0 / 0.5079 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3444, allocations: 87.88 kB / 0.508 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3448, allocations: 44.16 kB / 0.508 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.346, allocations: 0.6154 MB / 0.5086 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3463, allocations: 0.6963 MB / 0.5093 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.3464, allocations: 19.91 kB / 0.5093 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.3464, allocations: 19.44 kB / 0.5093 GB, free: 5.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3464, allocations: 0 / 0.5093 GB, free: 5.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.3969, allocations: 25.86 MB / 0.5346 GB, free: 11.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.437/9.834, allocations: 8.562 kB / 0.5346 GB, free: 11.66 MB / 414.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.153785847011022] Failed to read output from testmodel.py, exit status != 0: 9.975409984006546 10.000059734 9.679301861 Calling exit ...