Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.000961, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007722/0.007721, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.774/1.774, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4341/0.4341, allocations: 40.01 MB / 310.7 MB, free: 9.531 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005994, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.168, allocations: 57.96 MB / 437.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003767/0.1718, allocations: 2.286 MB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.1741, allocations: 0.7802 MB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.1746, allocations: 4 kB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1749, allocations: 47.62 kB / 440.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.1755, allocations: 87.42 kB / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1759, allocations: 95.92 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006106/0.1766, allocations: 394.5 kB / 441.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.1769, allocations: 132 kB / 441.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.1773, allocations: 127.4 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.1776, allocations: 155.2 kB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.1777, allocations: 20 kB / 441.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.038e-05/0.1778, allocations: 20 kB / 441.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1778, allocations: 55.7 kB / 441.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.1781, allocations: 196.7 kB / 441.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.1787, allocations: 390.4 kB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1787, allocations: 0 / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.164e-06/0.1788, allocations: 4 kB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.1788, allocations: 3.938 kB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001317/0.1801, allocations: 0.6085 MB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1802, allocations: 8.031 kB / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1803, allocations: 44.38 kB / 442.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.1809, allocations: 272.7 kB / 443.1 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.1809, allocations: 29.38 kB / 443.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.181, allocations: 28.38 kB / 443.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.1819, allocations: 382.2 kB / 443.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1819, allocations: 0 / 443.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.182, allocations: 12 kB / 443.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.182, allocations: 11.94 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.1828, allocations: 287.8 kB / 443.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.1852, allocations: 1.354 MB / 445.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.1857, allocations: 210.5 kB / 445.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.186, allocations: 91.56 kB / 445.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.186, allocations: 0 / 445.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1861, allocations: 46.55 kB / 445.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.1861, allocations: 0 / 445.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000879/0.187, allocations: 281.2 kB / 445.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1871, allocations: 132.5 kB / 445.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.1875, allocations: 336.4 kB / 446.3 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1875, allocations: 25.7 kB / 446.3 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1877, allocations: 227.7 kB / 446.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1878, allocations: 67.11 kB / 446.6 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.1879, allocations: 29.72 kB / 446.6 MB, free: 8.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.1882, allocations: 346.7 kB / 446.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.1884, allocations: 88.5 kB / 447 MB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1887, allocations: 176.2 kB / 447.2 MB, free: 7.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.1894, allocations: 274.9 kB / 447.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1894, allocations: 4 kB / 447.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008145/0.1902, allocations: 325.6 kB / 447.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1903, allocations: 8 kB / 447.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1903, allocations: 4 kB / 447.8 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1903, allocations: 4.281 kB / 447.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.1907, allocations: 111.9 kB / 447.9 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.1908, allocations: 8 kB / 447.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1911, allocations: 47.67 kB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1911, allocations: 15.94 kB / 448 MB, free: 6.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001812/0.1913, allocations: 157.6 kB / 448.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1914, allocations: 35.61 kB / 448.2 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.1915, allocations: 30.41 kB / 448.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1915, allocations: 4 kB / 448.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.1915, allocations: 0 / 448.2 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.1915, allocations: 4 kB / 448.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.1924, allocations: 0.5914 MB / 448.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1924, allocations: 0 / 448.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1927, allocations: 71.88 kB / 448.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1927, allocations: 4.156 kB / 448.9 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1928, allocations: 7.938 kB / 448.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1928, allocations: 4 kB / 448.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1928, allocations: 4 kB / 448.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.1934, allocations: 418.3 kB / 449.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.1936, allocations: 112.7 kB / 449.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.1936, allocations: 11.94 kB / 449.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1939, allocations: 15.98 kB / 449.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.194, allocations: 15.98 kB / 449.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.194, allocations: 8 kB / 449.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.1943, allocations: 235 kB / 449.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.1943, allocations: 0 / 449.7 MB, free: 5.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.1947, allocations: 79.69 kB / 449.8 MB, free: 4.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000202/0.1949, allocations: 95.19 kB / 449.9 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.1955, allocations: 212.1 kB / 450.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1955, allocations: 4.062 kB / 450.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.1958, allocations: 91.83 kB / 450.2 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.1963, allocations: 29.36 kB / 450.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1974, allocations: 0.7017 MB / 450.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.1979, allocations: 0.7753 MB / 451.7 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.198, allocations: 22.12 kB / 451.7 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.1981, allocations: 15.44 kB / 451.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1981, allocations: 0 / 451.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of Templates: time 0.0057/0.2038, allocations: 1.608 MB / 453.3 MB, free: 1.352 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe 2>&1) Environment - environmentSimulation: