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.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.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_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.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001236/0.001236, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.216/1.216, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 1.127/1.127, allocations: 9.077 MB / 278.5 MB, free: 12.34 MB / 238.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.001366/0.001366, allocations: 63.91 kB / 337.6 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07469, allocations: 48.16 MB / 385.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01548/0.09021, allocations: 17.4 MB / 403.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007898/0.09814, allocations: 10.05 MB / 413.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.09824, allocations: 4 kB / 413.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.09887, allocations: 263.8 kB / 413.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.09915, allocations: 123.5 kB / 413.6 MB, free: 13.54 MB / 318.1 MB [/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.01053/0.1097, allocations: 5.083 MB / 418.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1099, allocations: 163.2 kB / 418.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1099, allocations: 9.344 kB / 418.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1101, allocations: 75.59 kB / 418.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.1102, allocations: 59.77 kB / 419 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1102, allocations: 4 kB / 419 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1454/0.2556, allocations: 9.028 MB / 428 MB, free: 21.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.2557, allocations: 13.27 kB / 428 MB, free: 21.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.2558, allocations: 50.08 kB / 428.1 MB, free: 21.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009594/0.2654, allocations: 3.498 MB / 431.6 MB, free: 21.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2654, allocations: 1.938 kB / 431.6 MB, free: 21.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2654, allocations: 0 / 431.6 MB, free: 21.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.2655, allocations: 1.125 kB / 431.6 MB, free: 21.16 MB / 318.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.003791/0.2693, allocations: 0.7972 MB / 432.4 MB, free: 20.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.2693, allocations: 9.75 kB / 432.4 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.2694, allocations: 33.52 kB / 432.4 MB, free: 20.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.2695, allocations: 11.44 kB / 432.4 MB, free: 20.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2696, allocations: 186.8 kB / 432.6 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2697, allocations: 2.531 kB / 432.6 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.2697, allocations: 4.109 kB / 432.6 MB, free: 20.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.2701, allocations: 118.5 kB / 432.7 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2701, allocations: 4.703 kB / 432.8 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.2701, allocations: 6.969 kB / 432.8 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2701, allocations: 2.188 kB / 432.8 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.2706, allocations: 134.4 kB / 432.9 MB, free: 20.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.2713, allocations: 363 kB / 433.2 MB, free: 20.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2716, allocations: 107 kB / 433.4 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.2718, allocations: 96.03 kB / 433.4 MB, free: 19.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.2835, allocations: 8.381 MB / 441.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2836, allocations: 34.91 kB / 441.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.2836, allocations: 0 / 441.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009218/0.2845, allocations: 280.1 kB / 442.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2846, allocations: 58.59 kB / 442.2 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2847, allocations: 134.5 kB / 442.3 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2847, allocations: 29.91 kB / 442.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.2848, allocations: 89.03 kB / 442.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.2848, allocations: 43.12 kB / 442.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.2849, allocations: 24.66 kB / 442.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.285, allocations: 321.9 kB / 442.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.2852, allocations: 79.14 kB / 442.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.2854, allocations: 76.38 kB / 443 MB, free: 11.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.2857, allocations: 157.7 kB / 443.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2858, allocations: 1.531 kB / 443.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004349/0.2862, allocations: 204.1 kB / 443.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2862, allocations: 9.125 kB / 443.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2862, allocations: 3.938 kB / 443.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2863, allocations: 0 / 443.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2864, allocations: 25.33 kB / 443.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2864, allocations: 0 / 443.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2866, allocations: 22.19 kB / 443.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2866, allocations: 3.5 kB / 443.4 MB, free: 11.39 MB / 318.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 8.937e-05/0.2867, allocations: 113.4 kB / 443.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.2867, allocations: 19.47 kB / 443.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.2872, allocations: 230.2 kB / 443.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.2873, allocations: 2.953 kB / 443.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2873, allocations: 2.078 kB / 443.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2873, allocations: 3.281 kB / 443.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2875, allocations: 216.7 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2875, allocations: 3.938 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2877, allocations: 30.17 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2877, allocations: 0.5625 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2877, allocations: 4.094 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2877, allocations: 0.5938 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2877, allocations: 0.5938 kB / 444 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.2883, allocations: 300 kB / 444.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.2884, allocations: 95.16 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.2884, allocations: 3 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2886, allocations: 15.77 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.2886, allocations: 12.94 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2887, allocations: 5.219 kB / 444.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.112e-05/0.2887, allocations: 100.2 kB / 444.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.2887, allocations: 4.5 kB / 444.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003718/0.2925, allocations: 0.7272 MB / 445.3 MB, free: 10.55 MB / 318.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.007558/0.3, allocations: 1.95 MB / 447.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.3007, allocations: 174.3 kB / 447.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3007, allocations: 4 kB / 447.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.3009, allocations: 93.56 kB / 447.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.3014, allocations: 46.34 kB / 447.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.3045, allocations: 0.6306 MB / 448.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3047, allocations: 0.6985 MB / 448.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.923e-05/0.3048, allocations: 7.469 kB / 448.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.3049, allocations: 28.58 kB / 448.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3049, allocations: 4 kB / 448.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6127/0.9176, allocations: 25.6 MB / 474.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.9178, allocations: 253.8 kB / 474.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/4.941, allocations: 0 / 474.7 MB, free: 7.617 MB / 334.1 MB (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 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)