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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.006327/0.006327, allocations: 176.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.545/1.545, allocations: 194.5 MB / 210.3 MB, free: 8.52 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001674, allocations: 112.6 kB / 255.6 MB, free: 11.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1986/0.1986, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004298, allocations: 15.12 kB / 406.1 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.3146, allocations: 82.93 MB / 0.5312 GB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.315, allocations: 79.91 kB / 0.5313 GB, free: 312 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2978/0.6128, allocations: 6.876 MB / 0.538 GB, free: 83.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6128, allocations: 4 kB / 0.538 GB, free: 83.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.6128, allocations: 6.938 kB / 0.538 GB, free: 83.18 MB / 378.7 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.0009387/0.6138, allocations: 0.6155 MB / 0.5386 GB, free: 82.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6138, allocations: 9.875 kB / 0.5386 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.6139, allocations: 46.27 kB / 0.5387 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.6142, allocations: 266.8 kB / 0.5389 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.6143, allocations: 25.25 kB / 0.5389 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.6143, allocations: 32.06 kB / 0.539 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.615, allocations: 369.2 kB / 0.5393 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6151, allocations: 0 / 0.5393 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.6151, allocations: 17.39 kB / 0.5393 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.6151, allocations: 8.25 kB / 0.5393 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.6158, allocations: 293.8 kB / 0.5396 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.6177, allocations: 1.3 MB / 0.5409 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.6182, allocations: 199.3 kB / 0.5411 GB, free: 81.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.6182, allocations: 9.75 kB / 0.5411 GB, free: 81.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.6182, allocations: 36.03 kB / 0.5411 GB, free: 81.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.6182, allocations: 0 / 0.5411 GB, free: 81.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007838/0.619, allocations: 285.8 kB / 0.5414 GB, free: 81.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6191, allocations: 130.3 kB / 0.5415 GB, free: 81.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.6193, allocations: 292.5 kB / 0.5418 GB, free: 80.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6194, allocations: 31.08 kB / 0.5418 GB, free: 80.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6195, allocations: 236.8 kB / 0.5421 GB, free: 80.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.6195, allocations: 55.48 kB / 0.5421 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.6195, allocations: 4 kB / 0.5421 GB, free: 80.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.6196, allocations: 345.4 kB / 0.5424 GB, free: 80.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.6198, allocations: 83.83 kB / 0.5425 GB, free: 80.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.6201, allocations: 185.6 kB / 0.5427 GB, free: 80.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.6204, allocations: 103.1 kB / 0.5428 GB, free: 80.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6204, allocations: 5.25 kB / 0.5428 GB, free: 80.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000618/0.621, allocations: 330 kB / 0.5431 GB, free: 79.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.621, allocations: 6.219 kB / 0.5431 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6211, allocations: 2.922 kB / 0.5431 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.6211, allocations: 5.031 kB / 0.5431 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.6214, allocations: 80.45 kB / 0.5432 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.6214, allocations: 9.266 kB / 0.5432 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.6217, allocations: 52.48 kB / 0.5433 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.6217, allocations: 9.812 kB / 0.5433 GB, free: 79.8 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.6219, allocations: 164.6 kB / 0.5434 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.622, allocations: 33.31 kB / 0.5435 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.622, allocations: 32.03 kB / 0.5435 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6221, allocations: 3.031 kB / 0.5435 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6221, allocations: 0 / 0.5435 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6221, allocations: 5.359 kB / 0.5435 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.6228, allocations: 0.5891 MB / 0.5441 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6228, allocations: 1.375 kB / 0.5441 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.623, allocations: 42.34 kB / 0.5441 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.623, allocations: 2.75 kB / 0.5441 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.623, allocations: 7.312 kB / 0.5441 GB, free: 79.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6231, allocations: 6.891 kB / 0.5441 GB, free: 79.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.6231, allocations: 13.27 kB / 0.5442 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.6236, allocations: 484.3 kB / 0.5446 GB, free: 78.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.6237, allocations: 109 kB / 0.5447 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.6237, allocations: 2.75 kB / 0.5447 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.6239, allocations: 29.67 kB / 0.5448 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.624, allocations: 26.73 kB / 0.5448 GB, free: 78.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.624, allocations: 4.125 kB / 0.5448 GB, free: 78.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.6243, allocations: 224.4 kB / 0.545 GB, free: 78.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6243, allocations: 0 / 0.545 GB, free: 78.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.6247, allocations: 72.06 kB / 0.5451 GB, free: 78.25 MB / 378.7 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 (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.0001215/0.6248, allocations: 102.1 kB / 0.5452 GB, free: 78.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.6253, allocations: 213.2 kB / 0.5454 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6253, allocations: 0 / 0.5454 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.6256, allocations: 95.55 kB / 0.5455 GB, free: 78.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.6259, allocations: 17 kB / 0.5455 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.627, allocations: 0.6549 MB / 0.5461 GB, free: 77.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.6273, allocations: 0.7842 MB / 0.5469 GB, free: 76.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.6274, allocations: 29.28 kB / 0.5469 GB, free: 76.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.6275, allocations: 22.62 kB / 0.5469 GB, free: 76.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6275, allocations: 0 / 0.5469 GB, free: 76.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005067/0.6326, allocations: 1.665 MB / 0.5486 GB, free: 75.92 MB / 378.7 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)