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.0009366/0.0009367, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008925/0.0008925, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04213/0.04213, allocations: 9.057 MB / 279.5 MB, free: 12.25 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.0004495/0.0004496, allocations: 20 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06735/0.06781, allocations: 49.18 MB / 388.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01563/0.08348, allocations: 16.09 MB / 404.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00867/0.09218, allocations: 9.399 MB / 413.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.09227, allocations: 4 kB / 413.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.09279, allocations: 235 kB / 414.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.09307, allocations: 115.2 kB / 414.3 MB, free: 14.73 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.01144/0.1045, allocations: 4.545 MB / 418.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.1048, allocations: 143.2 kB / 418.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.1049, allocations: 13.39 kB / 418.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.1052, allocations: 71.58 kB / 419 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1053, allocations: 51.78 kB / 419.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1053, allocations: 4 kB / 419.1 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/0.1189, allocations: 7.6 MB / 426.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.119, allocations: 11.94 kB / 426.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.1191, allocations: 41.64 kB / 426.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.1225, allocations: 1.953 MB / 428.7 MB, free: 260 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1225, allocations: 4 kB / 428.7 MB, free: 256 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1225, allocations: 0 / 428.7 MB, free: 256 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1225, allocations: 0 / 428.7 MB, free: 256 kB / 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.1385/0.261, allocations: 0.7875 MB / 429.5 MB, free: 46.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2611, allocations: 9.625 kB / 429.5 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2611, allocations: 36.64 kB / 429.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2612, allocations: 12.2 kB / 429.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.891e-05/0.2612, allocations: 176.8 kB / 429.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2613, allocations: 8.078 kB / 429.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2613, allocations: 8.25 kB / 429.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2616, allocations: 129.5 kB / 429.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2616, allocations: 0 / 429.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2616, allocations: 2.953 kB / 429.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2616, allocations: 2.594 kB / 429.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.262, allocations: 166.7 kB / 430 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.2624, allocations: 355.3 kB / 430.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.2627, allocations: 120.8 kB / 430.5 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.2629, allocations: 115.5 kB / 430.6 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008091/0.271, allocations: 8.247 MB / 438.8 MB, free: 37.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.271, allocations: 34.81 kB / 438.9 MB, free: 37.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.271, allocations: 0 / 438.9 MB, free: 37.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007058/0.2717, allocations: 321.5 kB / 439.2 MB, free: 37.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2718, allocations: 52.5 kB / 439.2 MB, free: 37.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.2719, allocations: 138.6 kB / 439.4 MB, free: 37.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2719, allocations: 26.61 kB / 439.4 MB, free: 37.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.2719, allocations: 88.28 kB / 439.5 MB, free: 37.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2719, allocations: 46.86 kB / 439.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.2719, allocations: 0 / 439.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.272, allocations: 321.8 kB / 439.8 MB, free: 36.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2722, allocations: 88.05 kB / 439.9 MB, free: 36.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2724, allocations: 88.62 kB / 440 MB, free: 36.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2726, allocations: 88.78 kB / 440.1 MB, free: 36.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2726, allocations: 3.953 kB / 440.1 MB, free: 36.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004307/0.273, allocations: 231.5 kB / 440.3 MB, free: 36.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.273, allocations: 7.531 kB / 440.3 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2731, allocations: 1.031 kB / 440.3 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2731, allocations: 0.7969 kB / 440.3 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2732, allocations: 31.28 kB / 440.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2732, allocations: 0 / 440.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2734, allocations: 29.12 kB / 440.4 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2734, allocations: 3.109 kB / 440.4 MB, free: 36.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.2734, allocations: 124.9 kB / 440.5 MB, free: 36.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.2735, allocations: 9.531 kB / 440.5 MB, free: 36.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.274, allocations: 249.7 kB / 440.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.274, allocations: 5.109 kB / 440.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.274, allocations: 3.609 kB / 440.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.274, allocations: 5.938 kB / 440.8 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2742, allocations: 215.4 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2742, allocations: 0.7969 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2744, allocations: 28.77 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2744, allocations: 4.188 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2744, allocations: 3 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2744, allocations: 0.7031 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2744, allocations: 1.406 kB / 441 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.2748, allocations: 327 kB / 441.4 MB, free: 36.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2749, allocations: 96.86 kB / 441.5 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2749, allocations: 6.906 kB / 441.5 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2751, allocations: 20.66 kB / 441.5 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.2751, allocations: 11.03 kB / 441.5 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.2751, allocations: 1.906 kB / 441.5 MB, free: 36.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.2752, allocations: 102.9 kB / 441.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2752, allocations: 0 / 441.6 MB, free: 36.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001591/0.2768, allocations: 0.7247 MB / 442.3 MB, free: 36.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003314/0.2801, allocations: 1.979 MB / 444.3 MB, free: 35.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.2806, allocations: 204.8 kB / 444.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2806, allocations: 1.312 kB / 444.5 MB, free: 35.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2808, allocations: 102.2 kB / 444.6 MB, free: 35.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2812, allocations: 47.28 kB / 444.6 MB, free: 35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2822, allocations: 0.6452 MB / 445.3 MB, free: 34.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2823, allocations: 0.6971 MB / 446 MB, free: 33.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.2824, allocations: 9.312 kB / 446 MB, free: 33.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2825, allocations: 26.86 kB / 446 MB, free: 33.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2825, allocations: 0.5312 kB / 446 MB, free: 33.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.3198, allocations: 25.27 MB / 471.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.32, allocations: 239.3 kB / 471.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/2.952, allocations: 0 / 471.5 MB, free: 13.1 MB / 318.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/linux/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) Environment - environmentSimulation: