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.00729/0.00729, allocations: 96.75 kB / 15.73 MB, free: 6.031 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.001869/0.001869, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04887/0.04887, allocations: 9.088 MB / 279 MB, free: 12.08 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.002035/0.002035, allocations: 67.91 kB / 387 MB, free: 8.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2441, allocations: 48.16 MB / 435.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02648/0.2707, allocations: 17.4 MB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.2821, allocations: 10.1 MB / 462.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.2823, allocations: 0 / 462.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.2831, allocations: 273.5 kB / 462.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.2835, allocations: 140.9 kB / 463 MB, free: 1.969 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.01632/0.2998, allocations: 5.568 MB / 468.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3001, allocations: 158.9 kB / 468.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.3001, allocations: 5.969 kB / 468.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.3004, allocations: 92.72 kB / 468.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.378e-05/0.3005, allocations: 48.5 kB / 468.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3005, allocations: 5.844 kB / 468.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.316, allocations: 9.021 MB / 477.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.3161, allocations: 11.94 kB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.3162, allocations: 47.8 kB / 478 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006905/0.3231, allocations: 3.511 MB / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3231, allocations: 0 / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3231, allocations: 0 / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3231, allocations: 0 / 481.5 MB, free: 2.336 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.00146/0.3246, allocations: 0.823 MB / 482.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3246, allocations: 12.03 kB / 482.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.3247, allocations: 34.55 kB / 482.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3247, allocations: 11.95 kB / 482.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3249, allocations: 190.8 kB / 482.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3249, allocations: 4 kB / 482.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3249, allocations: 7.938 kB / 482.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3252, allocations: 121.5 kB / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3253, allocations: 0 / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3253, allocations: 0 / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3253, allocations: 0 / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3257, allocations: 139.9 kB / 482.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.3262, allocations: 348.7 kB / 483.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3265, allocations: 114.5 kB / 483.3 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3268, allocations: 96.8 kB / 483.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.3387, allocations: 8.382 MB / 491.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3387, allocations: 30.56 kB / 491.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.3387, allocations: 0 / 491.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008192/0.3395, allocations: 289.4 kB / 492.1 MB, free: 6.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3396, allocations: 55.34 kB / 492.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3397, allocations: 129.4 kB / 492.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3397, allocations: 33.7 kB / 492.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3398, allocations: 96.28 kB / 492.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3398, allocations: 43.64 kB / 492.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3399, allocations: 21.72 kB / 492.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.34, allocations: 326.8 kB / 492.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3402, allocations: 71.94 kB / 492.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3405, allocations: 75.94 kB / 492.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.3409, allocations: 173.2 kB / 493.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3409, allocations: 0 / 493.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004719/0.3414, allocations: 205.5 kB / 493.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3414, allocations: 9.031 kB / 493.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3414, allocations: 240 / 493.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3414, allocations: 0 / 493.3 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3416, allocations: 23.97 kB / 493.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3416, allocations: 3.984 kB / 493.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3417, allocations: 19.92 kB / 493.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3417, allocations: 0 / 493.3 MB, free: 4.719 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 9.594e-05/0.3418, allocations: 125.7 kB / 493.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.3419, allocations: 11.91 kB / 493.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005557/0.3424, allocations: 222.3 kB / 493.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3425, allocations: 3.984 kB / 493.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3425, allocations: 0 / 493.7 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3425, allocations: 4 kB / 493.7 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3427, allocations: 221.5 kB / 493.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3427, allocations: 0 / 493.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.3429, allocations: 23.97 kB / 493.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3429, allocations: 0 / 493.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3429, allocations: 0 / 493.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3429, allocations: 0 / 493.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3429, allocations: 0 / 493.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.3435, allocations: 311.2 kB / 494.2 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.3436, allocations: 101 kB / 494.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3436, allocations: 7.938 kB / 494.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3437, allocations: 15.98 kB / 494.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3438, allocations: 11.98 kB / 494.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3438, allocations: 0 / 494.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.283e-05/0.3439, allocations: 103.3 kB / 494.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3439, allocations: 0 / 494.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001675/0.3456, allocations: 0.7358 MB / 495.2 MB, free: 2.742 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.003802/0.3494, allocations: 1.971 MB / 497.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.3499, allocations: 175.9 kB / 497.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3499, allocations: 0 / 497.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.3502, allocations: 95.88 kB / 497.4 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3506, allocations: 36.5 kB / 497.5 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3518, allocations: 0.6155 MB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3522, allocations: 0.7002 MB / 498.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.633e-05/0.3522, allocations: 11.91 kB / 498.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3523, allocations: 27.44 kB / 498.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3523, allocations: 0 / 498.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.4098, allocations: 25.81 MB / 0.5123 GB, free: 5.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 0.5 kB / 0.5123 GB, free: 5.207 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)