Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004017/0.004017, allocations: 177.9 kB / 7.453 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.493/1.493, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002011/0.002011, allocations: 107.8 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1876/0.1876, allocations: 37.98 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.747e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.068/2.19, allocations: 0.7721 GB / 1.161 GB, free: 106.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/2.19, allocations: 82.98 kB / 1.161 GB, free: 106.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.505/6.695, allocations: 1.133 GB / 2.294 GB, free: 47.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002389/6.696, allocations: 39.25 kB / 2.294 GB, free: 47.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01607/6.712, allocations: 2.487 MB / 2.297 GB, free: 46.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/6.712, allocations: 11 kB / 2.297 GB, free: 46.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/6.717, allocations: 461.6 kB / 2.297 GB, free: 46.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005534/6.723, allocations: 1.259 MB / 2.299 GB, free: 46.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/6.723, allocations: 41.75 kB / 2.299 GB, free: 46.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/6.724, allocations: 63.12 kB / 2.299 GB, free: 46.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007902/6.732, allocations: 3.541 MB / 2.302 GB, free: 46.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006573/6.739, allocations: 2.441 MB / 2.305 GB, free: 46.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/6.739, allocations: 2.719 kB / 2.305 GB, free: 46.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005769/6.74, allocations: 5.938 kB / 2.305 GB, free: 46.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/6.74, allocations: 156.6 kB / 2.305 GB, free: 46.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/6.757, allocations: 7.689 MB / 2.312 GB, free: 43.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/6.759, allocations: 0.6359 MB / 2.313 GB, free: 43.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/6.759, allocations: 362 kB / 2.313 GB, free: 43.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/6.76, allocations: 0.6721 MB / 2.314 GB, free: 43.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/6.76, allocations: 42.59 kB / 2.314 GB, free: 43.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=56): time 2.705e-06/6.76, allocations: 0 / 2.314 GB, free: 43.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=56): time 0.002781/6.763, allocations: 1.037 MB / 2.315 GB, free: 42.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/6.763, allocations: 136.4 kB / 2.315 GB, free: 42.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/6.765, allocations: 0.816 MB / 2.316 GB, free: 42.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-05/6.765, allocations: 28.45 kB / 2.316 GB, free: 42.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/6.765, allocations: 0.6334 MB / 2.316 GB, free: 42.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/6.765, allocations: 199.4 kB / 2.317 GB, free: 42.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/6.765, allocations: 0 / 2.317 GB, free: 42.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/6.766, allocations: 353.3 kB / 2.317 GB, free: 41.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/6.766, allocations: 462.3 kB / 2.317 GB, free: 41.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009208/6.767, allocations: 0.8669 MB / 2.318 GB, free: 41.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009285/6.777, allocations: 2.093 MB / 2.32 GB, free: 41.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/6.777, allocations: 3.188 kB / 2.32 GB, free: 41.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01301/6.79, allocations: 3.03 MB / 2.323 GB, free: 41.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001164/6.791, allocations: 5.308 MB / 2.328 GB, free: 35.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/6.791, allocations: 19.53 kB / 2.328 GB, free: 35.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/6.792, allocations: 375.6 kB / 2.329 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/6.794, allocations: 247.6 kB / 2.329 GB, free: 35.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/6.796, allocations: 1.344 MB / 2.33 GB, free: 35.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/6.798, allocations: 143.4 kB / 2.331 GB, free: 35.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/6.798, allocations: 81.02 kB / 2.331 GB, free: 35.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/6.798, allocations: 7.594 kB / 2.331 GB, free: 35.04 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01112/6.81, allocations: 2.706 MB / 2.333 GB, free: 35.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/6.81, allocations: 16.84 kB / 2.333 GB, free: 35.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/6.81, allocations: 172.2 kB / 2.333 GB, free: 35.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/6.811, allocations: 267.1 kB / 2.334 GB, free: 35.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/6.814, allocations: 2.051 MB / 2.336 GB, free: 33.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/6.815, allocations: 106.9 kB / 2.336 GB, free: 33.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/6.816, allocations: 78.5 kB / 2.336 GB, free: 33.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003781/6.816, allocations: 145.7 kB / 2.336 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/6.816, allocations: 106.4 kB / 2.336 GB, free: 33.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/6.819, allocations: 1.305 MB / 2.337 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/6.819, allocations: 5.375 kB / 2.337 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/6.819, allocations: 2.906 kB / 2.337 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/6.819, allocations: 3.516 kB / 2.337 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003416/6.823, allocations: 1.99 MB / 2.339 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/6.823, allocations: 0.75 kB / 2.339 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/6.823, allocations: 81.88 kB / 2.339 GB, free: 33.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/6.824, allocations: 351.8 kB / 2.34 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/6.825, allocations: 12.53 kB / 2.34 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/6.826, allocations: 1.254 MB / 2.341 GB, free: 32.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/6.826, allocations: 0 / 2.341 GB, free: 32.63 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00197/6.828, allocations: 1.08 MB / 2.342 GB, free: 32.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/6.829, allocations: 285.7 kB / 2.342 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/6.829, allocations: 5.844 kB / 2.342 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/6.83, allocations: 35.75 kB / 2.342 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/6.83, allocations: 41.14 kB / 2.342 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/6.83, allocations: 38.16 kB / 2.342 GB, free: 32.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007644/6.831, allocations: 0.5982 MB / 2.343 GB, free: 32.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005965/6.837, allocations: 1.791 MB / 2.345 GB, free: 31.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008291/6.845, allocations: 2.821 MB / 2.348 GB, free: 31.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004709/6.85, allocations: 1.866 MB / 2.349 GB, free: 31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/6.85, allocations: 0 / 2.349 GB, free: 31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/6.851, allocations: 400.7 kB / 2.35 GB, free: 30.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/6.853, allocations: 405 kB / 2.35 GB, free: 30.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/6.859, allocations: 1.831 MB / 2.352 GB, free: 30.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/6.861, allocations: 1.444 MB / 2.353 GB, free: 29.81 MB / 458.7 MB Notification: Performance of SimCode: time 2.685e-06/6.861, allocations: 0 / 2.353 GB, free: 29.81 MB / 458.7 MB Notification: Performance of Templates: time 0.08448/6.945, allocations: 48.35 MB / 2.401 GB, free: 19.25 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)