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.0008745/0.0008746, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005913/0.005914, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04356/0.04356, allocations: 9.065 MB / 279.8 MB, free: 12.15 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.0005816/0.0005816, allocations: 16 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08097, allocations: 49.19 MB / 389 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02206/0.1031, allocations: 17.14 MB / 406.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.1131, allocations: 10.14 MB / 416.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1133, allocations: 0 / 416.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007571/0.1141, allocations: 255.8 kB / 416.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1145, allocations: 123.5 kB / 416.7 MB, free: 12.55 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.01418/0.1287, allocations: 4.799 MB / 421.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1289, allocations: 155.2 kB / 421.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.129, allocations: 5.406 kB / 421.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1293, allocations: 79.58 kB / 421.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1294, allocations: 47.78 kB / 421.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1294, allocations: 4 kB / 421.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1907/0.3201, allocations: 8.478 MB / 430.2 MB, free: 20.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.3202, allocations: 14.03 kB / 430.2 MB, free: 20.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3204, allocations: 73.83 kB / 430.3 MB, free: 20.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.3324, allocations: 3.356 MB / 433.7 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3324, allocations: 0 / 433.7 MB, free: 20.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3325, allocations: 1.656 kB / 433.7 MB, free: 20.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3325, allocations: 0 / 433.7 MB, free: 20.23 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.002307/0.3348, allocations: 0.8025 MB / 434.5 MB, free: 19.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3348, allocations: 8.875 kB / 434.5 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.3349, allocations: 34.16 kB / 434.5 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3349, allocations: 21.22 kB / 434.5 MB, free: 19.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.86e-05/0.335, allocations: 176.1 kB / 434.7 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.335, allocations: 1.969 kB / 434.7 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.335, allocations: 2.703 kB / 434.7 MB, free: 19.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3354, allocations: 131.3 kB / 434.8 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3354, allocations: 0 / 434.8 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3354, allocations: 5 kB / 434.9 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3354, allocations: 5.141 kB / 434.9 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3358, allocations: 164.5 kB / 435 MB, free: 19.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.3363, allocations: 355.8 kB / 435.4 MB, free: 19.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3366, allocations: 119.9 kB / 435.5 MB, free: 19.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.3368, allocations: 107.5 kB / 435.6 MB, free: 19.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009577/0.3464, allocations: 8.25 MB / 443.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3465, allocations: 36.56 kB / 443.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.3465, allocations: 0 / 443.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008382/0.3473, allocations: 326.3 kB / 444.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3473, allocations: 55.69 kB / 444.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.3474, allocations: 142.4 kB / 444.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3475, allocations: 26.58 kB / 444.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.3475, allocations: 86.98 kB / 444.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.3475, allocations: 42.42 kB / 444.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.3476, allocations: 19.19 kB / 444.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.3476, allocations: 322.1 kB / 444.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.3478, allocations: 85.73 kB / 445 MB, free: 10.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.348, allocations: 87.81 kB / 445 MB, free: 10.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3484, allocations: 184.6 kB / 445.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3484, allocations: 1.031 kB / 445.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004569/0.3489, allocations: 238.6 kB / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3489, allocations: 5.812 kB / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3489, allocations: 1.531 kB / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.349, allocations: 0 / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3491, allocations: 28.95 kB / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3491, allocations: 0 / 445.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3492, allocations: 25.97 kB / 445.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3493, allocations: 3.5 kB / 445.5 MB, free: 10.47 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 6.426e-05/0.3493, allocations: 115.8 kB / 445.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.3494, allocations: 16.03 kB / 445.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.35, allocations: 259.9 kB / 445.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.35, allocations: 1.594 kB / 445.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.35, allocations: 0 / 445.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.35, allocations: 0.5 kB / 445.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3502, allocations: 216.2 kB / 446.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3502, allocations: 7.938 kB / 446.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3504, allocations: 32.97 kB / 446.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3504, allocations: 0.625 kB / 446.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3504, allocations: 3.969 kB / 446.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3504, allocations: 6.781 kB / 446.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3504, allocations: 0 / 446.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.351, allocations: 325.9 kB / 446.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3511, allocations: 95.95 kB / 446.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3511, allocations: 4 kB / 446.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3512, allocations: 22.64 kB / 446.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.3513, allocations: 7.203 kB / 446.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3513, allocations: 2.438 kB / 446.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.3513, allocations: 106.7 kB / 446.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3513, allocations: 0 / 446.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003034/0.3544, allocations: 0.7239 MB / 447.4 MB, free: 9.629 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.004883/0.3593, allocations: 1.977 MB / 449.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005078/0.3598, allocations: 198.2 kB / 449.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3598, allocations: 0 / 449.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.36, allocations: 104.6 kB / 449.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3605, allocations: 54.73 kB / 449.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3619, allocations: 0.6637 MB / 450.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.362, allocations: 0.7001 MB / 451.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.3621, allocations: 2.625 kB / 451.1 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.3621, allocations: 28.25 kB / 451.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3621, allocations: 0 / 451.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.405, allocations: 25.38 MB / 476.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.4052, allocations: 256.2 kB / 476.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.111, allocations: 0 / 476.8 MB, free: 6.574 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)