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.001688/0.001688, 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.002316/0.002315, allocations: 191.3 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.832/1.832, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.3802/0.3802, allocations: 39.93 MB / 309.7 MB, free: 9.254 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.00228/0.00228, allocations: 71.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1936, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.005365/0.199, allocations: 2.622 MB / 437.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.201, allocations: 0.7878 MB / 437.9 MB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2012, allocations: 4 kB / 437.9 MB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2016, allocations: 71.38 kB / 438 MB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.2019, allocations: 103.2 kB / 438.1 MB, free: 80 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.2023, allocations: 107.9 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.2029, allocations: 418.4 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.2032, allocations: 147.1 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.2035, allocations: 151.4 kB / 438.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2038, allocations: 171.2 kB / 439 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.2039, allocations: 32 kB / 439.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.204, allocations: 36 kB / 439.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.204, allocations: 75.75 kB / 439.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.2043, allocations: 187 kB / 439.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.2048, allocations: 410.5 kB / 439.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2048, allocations: 0 / 439.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2048, allocations: 3.938 kB / 439.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2048, allocations: 0 / 439.8 MB, free: 14.37 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.00132/0.2061, allocations: 0.6664 MB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.2062, allocations: 11.89 kB / 440.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2063, allocations: 40.47 kB / 440.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.2068, allocations: 272.6 kB / 440.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.2068, allocations: 25.36 kB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.2069, allocations: 36.38 kB / 440.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.2078, allocations: 362.2 kB / 441.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.2078, allocations: 0 / 441.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.2079, allocations: 19.94 kB / 441.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.2079, allocations: 8 kB / 441.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.2087, allocations: 263.8 kB / 441.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.2112, allocations: 1.338 MB / 442.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.2119, allocations: 202.5 kB / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.2122, allocations: 87.52 kB / 443.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.2122, allocations: 3.938 kB / 443.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2123, allocations: 38.56 kB / 443.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.2123, allocations: 3.938 kB / 443.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001026/0.2133, allocations: 241.1 kB / 443.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2134, allocations: 140.5 kB / 443.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.2139, allocations: 328.4 kB / 443.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2139, allocations: 25.7 kB / 443.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2141, allocations: 239.8 kB / 444.1 MB, free: 9.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.2142, allocations: 59.2 kB / 444.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2143, allocations: 57.92 kB / 444.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2145, allocations: 338.8 kB / 444.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2148, allocations: 80.5 kB / 444.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.2152, allocations: 172.2 kB / 444.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.2158, allocations: 259.4 kB / 445 MB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2158, allocations: 4 kB / 445 MB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008301/0.2167, allocations: 301.2 kB / 445.3 MB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.2167, allocations: 12.03 kB / 445.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2167, allocations: 4 kB / 445.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.2168, allocations: 4 kB / 445.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.2173, allocations: 91.8 kB / 445.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2173, allocations: 4 kB / 445.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.2177, allocations: 51.56 kB / 445.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.2178, allocations: 12 kB / 445.5 MB, free: 8.23 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.0001873/0.2179, allocations: 157.7 kB / 445.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.2181, allocations: 27.62 kB / 445.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.2182, allocations: 30.41 kB / 445.7 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.2182, allocations: 4 kB / 445.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2182, allocations: 0 / 445.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2182, allocations: 7.984 kB / 445.7 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2192, allocations: 0.5876 MB / 446.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2193, allocations: 0 / 446.3 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.2196, allocations: 59.88 kB / 446.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.2196, allocations: 4 kB / 446.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.2197, allocations: 7.938 kB / 446.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2197, allocations: 8.156 kB / 446.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2197, allocations: 0 / 446.4 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.2204, allocations: 394.8 kB / 446.8 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2205, allocations: 112.7 kB / 446.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.2206, allocations: 7.938 kB / 446.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.2209, allocations: 19.97 kB / 446.9 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.221, allocations: 19.97 kB / 446.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.221, allocations: 8 kB / 446.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.2213, allocations: 227 kB / 447.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2214, allocations: 7.875 kB / 447.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006072/0.222, allocations: 71.84 kB / 447.2 MB, free: 6.355 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.0001643/0.2221, allocations: 99.19 kB / 447.3 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.2229, allocations: 199.8 kB / 447.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2229, allocations: 0 / 447.5 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2232, allocations: 80.64 kB / 447.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.2239, allocations: 25.38 kB / 447.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2252, allocations: 0.565 MB / 448.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.2256, allocations: 0.7713 MB / 449 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.2258, allocations: 17.95 kB / 449 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.2259, allocations: 23.38 kB / 449 MB, free: 4.504 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2259, allocations: 4 kB / 449 MB, free: 4.5 MB / 382.1 MB Notification: Performance of Templates: time 0.006397/0.2323, allocations: 1.8 MB / 450.8 MB, free: 2.703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile (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)