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.001759/0.001759, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.579/1.579, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05082/0.05082, allocations: 9.096 MB / 278.9 MB, free: 12.19 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.001713/0.001713, allocations: 72.31 kB / 338.1 MB, free: 25.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09521, allocations: 48.15 MB / 386.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02375/0.119, allocations: 17.42 MB / 403.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1293, allocations: 10.08 MB / 413.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1294, allocations: 0 / 413.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.1302, allocations: 275.6 kB / 414.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.1306, allocations: 143.3 kB / 414.2 MB, free: 13.12 MB / 318.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.01302/0.1436, allocations: 5.56 MB / 419.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1438, allocations: 159.2 kB / 419.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.1439, allocations: 13.34 kB / 419.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.1441, allocations: 83.56 kB / 420 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.1442, allocations: 51.78 kB / 420.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1442, allocations: 4 kB / 420.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2186/0.3629, allocations: 8.899 MB / 429 MB, free: 20.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.363, allocations: 13.95 kB / 429 MB, free: 20.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3632, allocations: 50.41 kB / 429 MB, free: 20.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.3801, allocations: 3.493 MB / 432.5 MB, free: 20.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.3802, allocations: 1.156 kB / 432.5 MB, free: 20.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.3802, allocations: 3 kB / 432.5 MB, free: 20.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3802, allocations: 2.406 kB / 432.5 MB, free: 20.59 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.003932/0.3841, allocations: 0.7919 MB / 433.3 MB, free: 20 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.3842, allocations: 11.25 kB / 433.3 MB, free: 20 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.3843, allocations: 37.19 kB / 433.4 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.3843, allocations: 10.47 kB / 433.4 MB, free: 19.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3845, allocations: 182.3 kB / 433.6 MB, free: 19.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3845, allocations: 2.5 kB / 433.6 MB, free: 19.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3845, allocations: 2.75 kB / 433.6 MB, free: 19.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.385, allocations: 123.5 kB / 433.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.385, allocations: 0 / 433.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.385, allocations: 2.219 kB / 433.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.385, allocations: 1.375 kB / 433.7 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.3856, allocations: 139.5 kB / 433.8 MB, free: 19.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3861, allocations: 352.6 kB / 434.2 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.3865, allocations: 110.5 kB / 434.3 MB, free: 19.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3868, allocations: 97.88 kB / 434.4 MB, free: 19.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/0.4031, allocations: 8.384 MB / 442.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.4032, allocations: 34.38 kB / 442.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 5.491e-06/0.4032, allocations: 1.375 kB / 442.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001395/0.4046, allocations: 286.6 kB / 443.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4047, allocations: 51.41 kB / 443.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4049, allocations: 129.9 kB / 443.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4049, allocations: 28.2 kB / 443.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.405, allocations: 92.03 kB / 443.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.756e-05/0.4051, allocations: 41.3 kB / 443.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.4052, allocations: 26.91 kB / 443.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.4053, allocations: 322.1 kB / 443.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4056, allocations: 72.64 kB / 443.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.4059, allocations: 74.14 kB / 443.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.4067, allocations: 167.5 kB / 444 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4067, allocations: 2.875 kB / 444.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008827/0.4076, allocations: 194.5 kB / 444.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.4076, allocations: 9.625 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4077, allocations: 1.5 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/0.4077, allocations: 6.281 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.408, allocations: 23.55 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.408, allocations: 0.5312 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4082, allocations: 20.69 kB / 444.3 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.4083, allocations: 8.719 kB / 444.3 MB, free: 10.82 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 0.0001281/0.4084, allocations: 117 kB / 444.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.4085, allocations: 17.47 kB / 444.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/0.4095, allocations: 224.6 kB / 444.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4096, allocations: 0 / 444.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4096, allocations: 5.438 kB / 444.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4096, allocations: 0.5 kB / 444.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.41, allocations: 211.4 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.41, allocations: 6.844 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.4102, allocations: 25.81 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4102, allocations: 1.188 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4103, allocations: 4.906 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4103, allocations: 3.562 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4103, allocations: 1.625 kB / 444.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.4111, allocations: 305.3 kB / 445.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4113, allocations: 95.09 kB / 445.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.4113, allocations: 3.672 kB / 445.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.4116, allocations: 16.58 kB / 445.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.4117, allocations: 11.22 kB / 445.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4117, allocations: 1.375 kB / 445.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.4118, allocations: 105.2 kB / 445.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4118, allocations: 0.875 kB / 445.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00575/0.4176, allocations: 0.7244 MB / 446.2 MB, free: 9.988 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.01221/0.4298, allocations: 1.96 MB / 448.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009676/0.4308, allocations: 184.7 kB / 448.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4309, allocations: 0 / 448.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.4313, allocations: 98.94 kB / 448.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.4321, allocations: 42.52 kB / 448.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.4373, allocations: 0.6006 MB / 449 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4376, allocations: 0.7004 MB / 449.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.4377, allocations: 6.625 kB / 449.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4379, allocations: 29.44 kB / 449.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4379, allocations: 0 / 449.8 MB, free: 8.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08393/0.5218, allocations: 25.79 MB / 475.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.357/9.879, allocations: 11.89 kB / 475.6 MB, free: 6.711 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)