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.001189/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001204/0.001204, allocations: 193.6 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.529/3.529, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.2931/0.2931, allocations: 9.086 MB / 278.4 MB, free: 12.64 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.001468/0.001468, allocations: 64.17 kB / 337.4 MB, free: 25.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.0937, allocations: 48.16 MB / 385.6 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.0191/0.1128, allocations: 17.65 MB / 403.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009632/0.1225, allocations: 10.25 MB / 413.5 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1226, allocations: 4 kB / 413.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.1234, allocations: 247.8 kB / 413.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.1238, allocations: 127.5 kB / 413.9 MB, free: 13.23 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.01637/0.1402, allocations: 4.767 MB / 418.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1405, allocations: 143.3 kB / 418.8 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1405, allocations: 9.406 kB / 418.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1408, allocations: 75.59 kB / 418.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.1408, allocations: 51.77 kB / 418.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1409, allocations: 7.938 kB / 418.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.228/0.3689, allocations: 8.481 MB / 427.4 MB, free: 20.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.3689, allocations: 13.2 kB / 427.4 MB, free: 20.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3691, allocations: 47.53 kB / 427.5 MB, free: 20.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.3815, allocations: 3.359 MB / 430.8 MB, free: 20.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3815, allocations: 0 / 430.8 MB, free: 20.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3815, allocations: 0 / 430.8 MB, free: 20.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3815, allocations: 1.094 kB / 430.8 MB, free: 20.63 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.002806/0.3843, allocations: 0.8012 MB / 431.6 MB, free: 20.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.3844, allocations: 9.766 kB / 431.6 MB, free: 20.04 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.3845, allocations: 38.75 kB / 431.7 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3845, allocations: 9.75 kB / 431.7 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3846, allocations: 181.7 kB / 431.9 MB, free: 19.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3847, allocations: 2.406 kB / 431.9 MB, free: 19.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3847, allocations: 5.281 kB / 431.9 MB, free: 19.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.385, allocations: 115.4 kB / 432 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3851, allocations: 2.25 kB / 432 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3851, allocations: 1.406 kB / 432 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3851, allocations: 3.203 kB / 432 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.3855, allocations: 138.3 kB / 432.1 MB, free: 19.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.386, allocations: 358.9 kB / 432.5 MB, free: 19.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.3863, allocations: 108.6 kB / 432.6 MB, free: 19.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3866, allocations: 96.72 kB / 432.7 MB, free: 19.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.3973, allocations: 8.386 MB / 441.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3974, allocations: 34.97 kB / 441.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.3974, allocations: 0.6562 kB / 441.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008183/0.3982, allocations: 283.7 kB / 441.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.3982, allocations: 53.61 kB / 441.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3984, allocations: 140.1 kB / 441.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.3984, allocations: 25.7 kB / 441.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.3984, allocations: 89.27 kB / 441.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.3985, allocations: 44.8 kB / 441.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3985, allocations: 22.05 kB / 441.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.3986, allocations: 319.9 kB / 442 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.3988, allocations: 81.81 kB / 442.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.399, allocations: 73.22 kB / 442.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.3994, allocations: 165.5 kB / 442.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3994, allocations: 0 / 442.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004445/0.3999, allocations: 204.6 kB / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3999, allocations: 8.625 kB / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.3999, allocations: 0 / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3999, allocations: 0 / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4001, allocations: 23.81 kB / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4001, allocations: 0 / 442.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.4002, allocations: 27.12 kB / 442.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4003, allocations: 1.984 kB / 442.6 MB, free: 10.88 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.45e-05/0.4003, allocations: 112.5 kB / 442.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4004, allocations: 18.19 kB / 442.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.4009, allocations: 230.4 kB / 443 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4009, allocations: 3.531 kB / 443 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4009, allocations: 1.094 kB / 443 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4009, allocations: 0 / 443 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4011, allocations: 217.2 kB / 443.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4011, allocations: 3.938 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4012, allocations: 25.53 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4012, allocations: 4 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4013, allocations: 3.797 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4013, allocations: 7.125 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4013, allocations: 2.594 kB / 443.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.4017, allocations: 300.2 kB / 443.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.4018, allocations: 102.6 kB / 443.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.4018, allocations: 0 / 443.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.402, allocations: 11.05 kB / 443.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.402, allocations: 12.84 kB / 443.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.402, allocations: 2.188 kB / 443.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.783e-05/0.4021, allocations: 104 kB / 443.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 1.375 kB / 443.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004326/0.4064, allocations: 0.7156 MB / 444.5 MB, free: 10.05 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.005166/0.4116, allocations: 1.961 MB / 446.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.4121, allocations: 174.4 kB / 446.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4121, allocations: 0 / 446.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.4124, allocations: 99.33 kB / 446.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.4128, allocations: 42.92 kB / 446.7 MB, free: 9.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.4142, allocations: 0.6244 MB / 447.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.4144, allocations: 0.7048 MB / 448.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.4144, allocations: 10.3 kB / 448.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.4145, allocations: 28.23 kB / 448.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4145, allocations: 0 / 448.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.4657, allocations: 25.49 MB / 473.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.4659, allocations: 253.6 kB / 473.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.339, allocations: 1.641 kB / 473.9 MB, free: 7.809 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)