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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.00123/0.001231, allocations: 177.3 kB / 15.95 MB, free: 216 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.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04524/0.04524, allocations: 9.058 MB / 279.4 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.0004824/0.0004824, allocations: 12.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 49.2 MB / 388.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01728/0.1354, allocations: 14.56 MB / 402.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.1439, allocations: 8.49 MB / 411.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.144, allocations: 0 / 411.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.1448, allocations: 247.2 kB / 411.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1452, allocations: 127.6 kB / 411.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.1601, allocations: 4.609 MB / 416.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.1605, allocations: 103.8 kB / 416.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1606, allocations: 13.38 kB / 416.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.161, allocations: 115.6 kB / 416.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1611, allocations: 55.77 kB / 416.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1612, allocations: 4 kB / 416.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.1804, allocations: 8.698 MB / 425.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1805, allocations: 15.92 kB / 425.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.1806, allocations: 37.7 kB / 425.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.1861, allocations: 1.833 MB / 427.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1861, allocations: 3.938 kB / 427.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1861, allocations: 0 / 427.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1862, allocations: 4 kB / 427.2 MB, free: 1.758 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.002313/0.1885, allocations: 0.7798 MB / 428 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1885, allocations: 12.03 kB / 428 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.1886, allocations: 19.77 kB / 428 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1888, allocations: 175 kB / 428.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1888, allocations: 4 kB / 428.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1888, allocations: 4 kB / 428.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.1892, allocations: 125.6 kB / 428.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1892, allocations: 0 / 428.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1892, allocations: 0 / 428.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1892, allocations: 11.89 kB / 428.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.1896, allocations: 163.9 kB / 428.5 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2212/0.4109, allocations: 360.5 kB / 428.8 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.4113, allocations: 112.9 kB / 428.9 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.4217, allocations: 8.262 MB / 437.2 MB, free: 38.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.4217, allocations: 36.56 kB / 437.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.4218, allocations: 0 / 437.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008925/0.4227, allocations: 405.6 kB / 437.6 MB, free: 37.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4227, allocations: 57.84 kB / 437.7 MB, free: 37.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.4228, allocations: 135.5 kB / 437.8 MB, free: 37.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4228, allocations: 29.02 kB / 437.8 MB, free: 37.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.4229, allocations: 91.19 kB / 437.9 MB, free: 37.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4229, allocations: 48.52 kB / 438 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.4229, allocations: 0 / 438 MB, free: 37.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.423, allocations: 327 kB / 438.3 MB, free: 37.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.4232, allocations: 86.14 kB / 438.4 MB, free: 37.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.4234, allocations: 86 kB / 438.5 MB, free: 37.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4236, allocations: 90.66 kB / 438.6 MB, free: 37.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4236, allocations: 0 / 438.6 MB, free: 37.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004579/0.4241, allocations: 229 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4241, allocations: 5.5 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4241, allocations: 0 / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4241, allocations: 5 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4243, allocations: 32.08 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4243, allocations: 4.922 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.4244, allocations: 21.14 kB / 438.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4244, allocations: 5.172 kB / 438.9 MB, free: 37.31 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 6.911e-05/0.4245, allocations: 113.5 kB / 439 MB, free: 37.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4246, allocations: 12.78 kB / 439 MB, free: 37.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005973/0.4252, allocations: 250.9 kB / 439.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4252, allocations: 1.828 kB / 439.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4252, allocations: 0 / 439.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4252, allocations: 5.656 kB / 439.2 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.4254, allocations: 214 kB / 439.4 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4254, allocations: 0.7969 kB / 439.4 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4256, allocations: 30.28 kB / 439.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4256, allocations: 2.812 kB / 439.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4256, allocations: 2.359 kB / 439.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4256, allocations: 2.547 kB / 439.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4256, allocations: 2.625 kB / 439.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.4261, allocations: 335.7 kB / 439.8 MB, free: 36.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4262, allocations: 96.34 kB / 439.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4262, allocations: 2.219 kB / 439.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4264, allocations: 22.94 kB / 439.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.4265, allocations: 13.25 kB / 439.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4265, allocations: 3.516 kB / 439.9 MB, free: 36.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.4265, allocations: 101.4 kB / 440 MB, free: 36.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4266, allocations: 0 / 440 MB, free: 36.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002137/0.4287, allocations: 0.7232 MB / 440.8 MB, free: 36.63 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.003281/0.432, allocations: 1.216 MB / 442 MB, free: 36.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4326, allocations: 203.6 kB / 442.2 MB, free: 36.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4326, allocations: 0 / 442.2 MB, free: 36.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.4329, allocations: 108.5 kB / 442.3 MB, free: 36.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.4332, allocations: 38.73 kB / 442.3 MB, free: 36.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.4338, allocations: 320.3 kB / 442.6 MB, free: 36.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.434, allocations: 0.702 MB / 443.3 MB, free: 35.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.223e-05/0.4341, allocations: 8.359 kB / 443.3 MB, free: 35.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.4341, allocations: 13.58 kB / 443.4 MB, free: 35.46 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4341, allocations: 0 / 443.4 MB, free: 35.46 MB / 318.1 MB Notification: Performance of Templates: time 0.02902/0.4631, allocations: 23.5 MB / 466.9 MB, free: 17.51 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile Environment - environmentSimulation: (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) Environment - environmentSimulation: