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.001028/0.001028, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.459/1.459, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001774/0.001773, allocations: 108.4 kB / 252.6 MB, free: 4.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2369/0.2369, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.57e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6231, allocations: 82.85 MB / 0.5254 GB, free: 8.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.6233, allocations: 64.47 kB / 0.5254 GB, free: 8.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.6394, allocations: 6.871 MB / 0.5321 GB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6395, allocations: 0 / 0.5321 GB, free: 2.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.6395, allocations: 12 kB / 0.5322 GB, free: 2.809 MB / 346.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.0008995/0.6404, allocations: 0.583 MB / 0.5327 GB, free: 2.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6405, allocations: 19.91 kB / 0.5327 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.6406, allocations: 39.48 kB / 0.5328 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.6409, allocations: 271.7 kB / 0.533 GB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.641, allocations: 25.09 kB / 0.5331 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.641, allocations: 30 kB / 0.5331 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.6416, allocations: 325.4 kB / 0.5334 GB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6416, allocations: 3.984 kB / 0.5334 GB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.6416, allocations: 14.2 kB / 0.5334 GB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.6416, allocations: 12 kB / 0.5334 GB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.642, allocations: 210 kB / 0.5336 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.6436, allocations: 1.293 MB / 0.5349 GB, free: 252 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.6439, allocations: 174.9 kB / 0.5351 GB, free: 68 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.644, allocations: 53.56 kB / 0.5351 GB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.6441, allocations: 7.984 kB / 0.5351 GB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.6441, allocations: 42.19 kB / 0.5352 GB, free: 15.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.6442, allocations: 4 kB / 0.5352 GB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000426/0.6446, allocations: 137.4 kB / 0.5353 GB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6447, allocations: 136.1 kB / 0.5354 GB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.6451, allocations: 279 kB / 0.5357 GB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.6451, allocations: 37.27 kB / 0.5357 GB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.6453, allocations: 234.6 kB / 0.536 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.6454, allocations: 49.73 kB / 0.536 GB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.6454, allocations: 6.125 kB / 0.536 GB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6456, allocations: 349 kB / 0.5363 GB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.6457, allocations: 56.31 kB / 0.5364 GB, free: 14.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.6459, allocations: 142.5 kB / 0.5365 GB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6461, allocations: 82.69 kB / 0.5366 GB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6461, allocations: 0 / 0.5366 GB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004329/0.6466, allocations: 251.5 kB / 0.5369 GB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6466, allocations: 8 kB / 0.5369 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6466, allocations: 48 / 0.5369 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6466, allocations: 15.92 kB / 0.5369 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.647, allocations: 79.58 kB / 0.5369 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.647, allocations: 8 kB / 0.537 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.6473, allocations: 55.12 kB / 0.537 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.6473, allocations: 15.5 kB / 0.537 GB, free: 14.21 MB / 362.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 () * 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 9.938e-05/0.6474, allocations: 126.5 kB / 0.5371 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6475, allocations: 27.62 kB / 0.5372 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.6476, allocations: 36.03 kB / 0.5372 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6476, allocations: 4 kB / 0.5372 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6476, allocations: 4 kB / 0.5372 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.6476, allocations: 0 / 0.5372 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.6484, allocations: 0.5825 MB / 0.5378 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6484, allocations: 8.141 kB / 0.5378 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.6486, allocations: 43.97 kB / 0.5378 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.6486, allocations: 4 kB / 0.5378 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6486, allocations: 2.812 kB / 0.5378 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.6487, allocations: 7.938 kB / 0.5378 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6487, allocations: 7.953 kB / 0.5379 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.649, allocations: 417.9 kB / 0.5383 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.6491, allocations: 108 kB / 0.5384 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6492, allocations: 4 kB / 0.5384 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.6494, allocations: 23.23 kB / 0.5384 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.6495, allocations: 19 kB / 0.5384 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6495, allocations: 7.984 kB / 0.5384 GB, free: 12.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000216/0.6497, allocations: 223.6 kB / 0.5386 GB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6497, allocations: 0 / 0.5386 GB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.6501, allocations: 70.97 kB / 0.5387 GB, free: 12.52 MB / 362.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 () * 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.0001437/0.6502, allocations: 106.4 kB / 0.5388 GB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.6505, allocations: 154.4 kB / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6505, allocations: 0 / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.6507, allocations: 57.38 kB / 0.539 GB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6509, allocations: 19.16 kB / 0.539 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.6516, allocations: 358.1 kB / 0.5394 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.6519, allocations: 0.7798 MB / 0.5401 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.6521, allocations: 30.23 kB / 0.5401 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.6521, allocations: 19.44 kB / 0.5402 GB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6521, allocations: 0 / 0.5402 GB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004719/0.6568, allocations: 1.682 MB / 0.5418 GB, free: 9.383 MB / 362.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)