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.007235/0.007235, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001393/0.001393, allocations: 195.8 kB / 16.68 MB, free: 5.926 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.395/1.395, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04824/0.04824, allocations: 9.097 MB / 279 MB, free: 12.06 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.001421/0.001421, allocations: 59.91 kB / 387 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 48.15 MB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02049/0.2775, allocations: 17.41 MB / 452.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.2879, allocations: 10.09 MB / 462.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2881, allocations: 1.156 kB / 462.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007921/0.2889, allocations: 280.8 kB / 462.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.2893, allocations: 136.6 kB / 463 MB, free: 1.938 MB / 334.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.0167/0.306, allocations: 5.572 MB / 468.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3063, allocations: 151.6 kB / 468.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.3064, allocations: 10.77 kB / 468.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.3067, allocations: 84.91 kB / 468.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3068, allocations: 51.98 kB / 468.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3068, allocations: 5.125 kB / 468.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/0.3237, allocations: 9.016 MB / 477.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.3238, allocations: 23.92 kB / 477.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3239, allocations: 47.78 kB / 478 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008111/0.332, allocations: 3.496 MB / 481.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.332, allocations: 0 / 481.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.332, allocations: 0 / 481.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3321, allocations: 0 / 481.5 MB, free: 2.344 MB / 350.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.001807/0.3339, allocations: 0.7992 MB / 482.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3339, allocations: 8.031 kB / 482.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.334, allocations: 34.56 kB / 482.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.334, allocations: 15.89 kB / 482.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3341, allocations: 178.8 kB / 482.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3342, allocations: 4 kB / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3342, allocations: 0 / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3345, allocations: 121.5 kB / 482.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3345, allocations: 0 / 482.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3345, allocations: 0 / 482.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3346, allocations: 11.97 kB / 482.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.335, allocations: 139.9 kB / 482.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3355, allocations: 356.6 kB / 483.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.3357, allocations: 118.4 kB / 483.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.336, allocations: 92.8 kB / 483.3 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.3476, allocations: 8.378 MB / 491.7 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3477, allocations: 34.56 kB / 491.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.3477, allocations: 0 / 491.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008554/0.3486, allocations: 281.4 kB / 492 MB, free: 6.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3486, allocations: 51.41 kB / 492.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3488, allocations: 137.6 kB / 492.2 MB, free: 5.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3488, allocations: 25.7 kB / 492.2 MB, free: 5.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.3489, allocations: 88.41 kB / 492.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.3489, allocations: 55.19 kB / 492.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.349, allocations: 25.7 kB / 492.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3492, allocations: 326.8 kB / 492.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.3494, allocations: 71.94 kB / 492.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3496, allocations: 75.89 kB / 492.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.35, allocations: 164.7 kB / 493 MB, free: 5.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3501, allocations: 0 / 493 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/0.3505, allocations: 206 kB / 493.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3506, allocations: 4 kB / 493.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3506, allocations: 0 / 493.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3506, allocations: 4 kB / 493.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3508, allocations: 23.92 kB / 493.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.3508, allocations: 0 / 493.2 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3509, allocations: 15.97 kB / 493.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3509, allocations: 0 / 493.3 MB, free: 4.773 MB / 366.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.533e-05/0.351, allocations: 125.7 kB / 493.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3511, allocations: 15.81 kB / 493.4 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.3516, allocations: 226.3 kB / 493.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3517, allocations: 0 / 493.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3517, allocations: 0 / 493.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3517, allocations: 11.98 kB / 493.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3519, allocations: 217.4 kB / 493.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3519, allocations: 0 / 493.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3521, allocations: 27.97 kB / 493.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3521, allocations: 0 / 493.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.3521, allocations: 0 / 493.9 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3521, allocations: 4 kB / 493.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3521, allocations: 0 / 493.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.3527, allocations: 299.3 kB / 494.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.3528, allocations: 96.94 kB / 494.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3528, allocations: 0 / 494.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3529, allocations: 19.91 kB / 494.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.353, allocations: 11.98 kB / 494.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.353, allocations: 8 kB / 494.3 MB, free: 3.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.3531, allocations: 99.22 kB / 494.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3531, allocations: 0 / 494.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00183/0.3549, allocations: 0.7301 MB / 495.1 MB, free: 2.805 MB / 366.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.00488/0.3598, allocations: 1.951 MB / 497.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.3604, allocations: 183.9 kB / 497.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3604, allocations: 0 / 497.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3606, allocations: 95.88 kB / 497.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3611, allocations: 44.67 kB / 497.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.3627, allocations: 0.5943 MB / 498 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3629, allocations: 0.7002 MB / 498.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.363, allocations: 7.938 kB / 498.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3631, allocations: 27.42 kB / 498.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3631, allocations: 0 / 498.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05036/0.4134, allocations: 25.85 MB / 0.5123 GB, free: 5.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/9.301, allocations: 7.781 kB / 0.5123 GB, free: 5.258 MB / 398.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)