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.005516/0.005516, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.00128/0.00128, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.412/1.412, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04708/0.04708, allocations: 9.092 MB / 279 MB, free: 12.1 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.001626/0.001626, allocations: 67.89 kB / 387 MB, free: 8.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.27, allocations: 48.16 MB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02309/0.2931, allocations: 17.4 MB / 452.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3044, allocations: 10.09 MB / 462.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3045, allocations: 1.312 kB / 462.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008953/0.3055, allocations: 277.8 kB / 462.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.3059, allocations: 139.8 kB / 463 MB, free: 1.949 MB / 334.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.01879/0.3247, allocations: 5.572 MB / 468.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3251, allocations: 154.2 kB / 468.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.3252, allocations: 6.938 kB / 468.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.3255, allocations: 88.86 kB / 468.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3256, allocations: 49.28 kB / 468.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3257, allocations: 3.906 kB / 468.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.3453, allocations: 9.022 MB / 477.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.3454, allocations: 15.92 kB / 477.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3455, allocations: 43.8 kB / 478 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3561, allocations: 3.504 MB / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3562, allocations: 0 / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3562, allocations: 0 / 481.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3562, allocations: 0 / 481.5 MB, free: 2.336 MB / 350.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.001957/0.3582, allocations: 0.7992 MB / 482.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3582, allocations: 12.03 kB / 482.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.3583, allocations: 30.56 kB / 482.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.3583, allocations: 11.91 kB / 482.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3585, allocations: 186.8 kB / 482.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3585, allocations: 3.984 kB / 482.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3585, allocations: 7.938 kB / 482.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3589, allocations: 117.6 kB / 482.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3589, allocations: 0 / 482.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3589, allocations: 0 / 482.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3589, allocations: 3.938 kB / 482.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.3593, allocations: 143.9 kB / 482.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3598, allocations: 352.6 kB / 483.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3601, allocations: 114.5 kB / 483.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3603, allocations: 96.8 kB / 483.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.3724, allocations: 8.386 MB / 491.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3725, allocations: 30.56 kB / 491.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.3725, allocations: 0 / 491.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008011/0.3733, allocations: 277.4 kB / 492 MB, free: 6.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3733, allocations: 59.34 kB / 492.1 MB, free: 6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3735, allocations: 133.4 kB / 492.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3735, allocations: 33.7 kB / 492.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.3736, allocations: 84.42 kB / 492.3 MB, free: 5.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.3736, allocations: 51.23 kB / 492.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3737, allocations: 25.7 kB / 492.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3738, allocations: 322.8 kB / 492.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.374, allocations: 71.94 kB / 492.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3742, allocations: 80.02 kB / 492.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.3745, allocations: 169.2 kB / 493 MB, free: 5.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3746, allocations: 0 / 493 MB, free: 5.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004556/0.375, allocations: 201.6 kB / 493.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.375, allocations: 9.031 kB / 493.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3751, allocations: 80 / 493.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3751, allocations: 0 / 493.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3752, allocations: 23.97 kB / 493.2 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3753, allocations: 3.984 kB / 493.2 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3754, allocations: 15.98 kB / 493.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3754, allocations: 0 / 493.3 MB, free: 4.758 MB / 366.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.0001036/0.3755, allocations: 129.7 kB / 493.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3755, allocations: 11.81 kB / 493.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.3761, allocations: 226.3 kB / 493.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3761, allocations: 0 / 493.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3761, allocations: 0 / 493.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3761, allocations: 4 kB / 493.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.3764, allocations: 221.4 kB / 493.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3764, allocations: 0 / 493.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.3765, allocations: 23.97 kB / 493.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3765, allocations: 0 / 493.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3766, allocations: 0 / 493.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3766, allocations: 0 / 493.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3766, allocations: 0 / 493.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.3771, allocations: 307.2 kB / 494.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.3771, allocations: 100.9 kB / 494.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3772, allocations: 0 / 494.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3773, allocations: 19.92 kB / 494.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.3774, allocations: 11.98 kB / 494.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3774, allocations: 0 / 494.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.855e-05/0.3775, allocations: 111.2 kB / 494.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3775, allocations: 0 / 494.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001925/0.3794, allocations: 0.7262 MB / 495.1 MB, free: 2.789 MB / 366.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.004481/0.3839, allocations: 1.953 MB / 497.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.3845, allocations: 175.9 kB / 497.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3845, allocations: 0 / 497.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3847, allocations: 95.88 kB / 497.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.3852, allocations: 48.36 kB / 497.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.387, allocations: 0.5904 MB / 498 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3873, allocations: 0.7041 MB / 498.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.3874, allocations: 11.92 kB / 498.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.3874, allocations: 27.42 kB / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3874, allocations: 0 / 498.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05414/0.4416, allocations: 25.85 MB / 0.5123 GB, free: 5.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/9.599, allocations: 12.56 kB / 0.5123 GB, free: 5.238 MB / 398.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)