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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009515, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.008773/0.008773, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.768/1.768, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05189/0.05189, allocations: 9.067 MB / 279.8 MB, free: 12.14 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.000583/0.0005827, allocations: 20.78 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1212, allocations: 49.2 MB / 388.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02119/0.1424, allocations: 17.13 MB / 406.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.1533, allocations: 10.14 MB / 416.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1535, allocations: 0 / 416.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1546, allocations: 251.8 kB / 416.5 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005506/0.1552, allocations: 123.5 kB / 416.6 MB, free: 12.65 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.01816/0.1734, allocations: 4.796 MB / 421.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1737, allocations: 147.2 kB / 421.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.1738, allocations: 13.39 kB / 421.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.174, allocations: 87.58 kB / 421.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1741, allocations: 43.78 kB / 421.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1741, allocations: 4 kB / 421.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2759/0.45, allocations: 8.477 MB / 430.1 MB, free: 20.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.4501, allocations: 13.12 kB / 430.1 MB, free: 20.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.4503, allocations: 72.08 kB / 430.2 MB, free: 20.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01332/0.4636, allocations: 3.354 MB / 433.6 MB, free: 20.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4636, allocations: 0 / 433.6 MB, free: 20.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4637, allocations: 0 / 433.6 MB, free: 20.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4637, allocations: 0 / 433.6 MB, free: 20.78 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.003175/0.4668, allocations: 0.7971 MB / 434.4 MB, free: 20.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4669, allocations: 11.53 kB / 434.4 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.467, allocations: 11.77 kB / 434.4 MB, free: 20.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.4671, allocations: 182.1 kB / 434.6 MB, free: 19.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4671, allocations: 5.5 kB / 434.6 MB, free: 19.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4671, allocations: 3.703 kB / 434.6 MB, free: 19.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.4675, allocations: 128.9 kB / 434.7 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4675, allocations: 3.562 kB / 434.7 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4675, allocations: 0 / 434.7 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4675, allocations: 1.688 kB / 434.7 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.468, allocations: 168 kB / 434.9 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.4686, allocations: 360.5 kB / 435.2 MB, free: 19.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.469, allocations: 125.8 kB / 435.3 MB, free: 19.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.4693, allocations: 108.4 kB / 435.5 MB, free: 19.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.4804, allocations: 8.243 MB / 443.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.4805, allocations: 42.62 kB / 443.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.857e-06/0.4805, allocations: 0.625 kB / 443.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009716/0.4815, allocations: 324.1 kB / 444.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4815, allocations: 55.41 kB / 444.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4817, allocations: 136.1 kB / 444.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4817, allocations: 27.08 kB / 444.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.4817, allocations: 93.8 kB / 444.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.4818, allocations: 39.14 kB / 444.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.4818, allocations: 16.09 kB / 444.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.4819, allocations: 321.5 kB / 444.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.4822, allocations: 93.81 kB / 444.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.4824, allocations: 90.3 kB / 444.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.4829, allocations: 186.4 kB / 445.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4829, allocations: 1.531 kB / 445.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004788/0.4834, allocations: 227.4 kB / 445.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4834, allocations: 5.594 kB / 445.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4834, allocations: 0 / 445.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4835, allocations: 2.453 kB / 445.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4836, allocations: 36.16 kB / 445.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4836, allocations: 0.7812 kB / 445.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4838, allocations: 23.72 kB / 445.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4838, allocations: 1.562 kB / 445.4 MB, free: 11.06 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.611e-05/0.4839, allocations: 120.4 kB / 445.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.484, allocations: 17.12 kB / 445.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.4848, allocations: 256.9 kB / 445.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4848, allocations: 1.031 kB / 445.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4848, allocations: 0.5312 kB / 445.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4848, allocations: 7.469 kB / 445.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.4851, allocations: 204.7 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4851, allocations: 3.344 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.4853, allocations: 32.59 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4853, allocations: 3.891 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4853, allocations: 4.469 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4853, allocations: 1.656 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4853, allocations: 0.75 kB / 446 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.486, allocations: 330.7 kB / 446.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.4861, allocations: 96.98 kB / 446.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4861, allocations: 8.031 kB / 446.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.4863, allocations: 16.05 kB / 446.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.4864, allocations: 12.09 kB / 446.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4864, allocations: 5.062 kB / 446.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.4865, allocations: 104.6 kB / 446.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4865, allocations: 1.312 kB / 446.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004611/0.4911, allocations: 0.7225 MB / 447.3 MB, free: 10.22 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.005141/0.4963, allocations: 1.224 MB / 448.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.4969, allocations: 195.9 kB / 448.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4969, allocations: 0 / 448.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.4972, allocations: 109.6 kB / 448.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.4977, allocations: 46.09 kB / 448.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.4983, allocations: 321.6 kB / 449.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4985, allocations: 0.7017 MB / 449.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.169e-05/0.4985, allocations: 2.75 kB / 449.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.4986, allocations: 17.05 kB / 449.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4986, allocations: 0 / 449.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of Templates: time 0.03288/0.5315, allocations: 23.62 MB / 473.5 MB, free: 10.13 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile Environment - environmentSimulation: (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) Environment - environmentSimulation: