Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003305/0.003305, allocations: 187.2 kB / 7.46 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.153/1.153, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001748/0.001749, allocations: 123.8 kB / 247.1 MB, free: 6.359 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.1612/0.1612, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08724, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.436, allocations: 0.7863 GB / 1.223 GB, free: 172.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.436, allocations: 84.42 kB / 1.223 GB, free: 172.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.602/5.038, allocations: 1.14 GB / 2.364 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001561/5.038, allocations: 37.42 kB / 2.364 GB, free: 53.14 MB / 0.4948 GB 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.01362/5.052, allocations: 2.471 MB / 2.366 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/5.052, allocations: 10.22 kB / 2.366 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/5.056, allocations: 468.3 kB / 2.367 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/5.06, allocations: 1.25 MB / 2.368 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/5.06, allocations: 43.09 kB / 2.368 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006502/5.061, allocations: 61.72 kB / 2.368 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005892/5.067, allocations: 3.544 MB / 2.371 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/5.072, allocations: 2.441 MB / 2.374 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/5.072, allocations: 1.031 kB / 2.374 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/5.072, allocations: 2 kB / 2.374 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/5.072, allocations: 155 kB / 2.374 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/5.087, allocations: 8.14 MB / 2.382 GB, free: 48.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/5.088, allocations: 0.6352 MB / 2.382 GB, free: 48.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/5.089, allocations: 366.8 kB / 2.383 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/5.09, allocations: 1.111 MB / 2.384 GB, free: 47.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/5.09, allocations: 39.75 kB / 2.384 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 3.346e-06/5.09, allocations: 3.469 kB / 2.384 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.002582/5.093, allocations: 1.037 MB / 2.385 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/5.093, allocations: 139.7 kB / 2.385 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/5.094, allocations: 0.808 MB / 2.386 GB, free: 47.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.555e-05/5.094, allocations: 25.7 kB / 2.386 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/5.095, allocations: 0.641 MB / 2.387 GB, free: 46.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/5.095, allocations: 206.8 kB / 2.387 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/5.095, allocations: 0 / 2.387 GB, free: 46.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.108e-05/5.095, allocations: 356.2 kB / 2.387 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/5.096, allocations: 463 kB / 2.388 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009688/5.097, allocations: 0.8755 MB / 2.388 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/5.106, allocations: 2.1 MB / 2.39 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-05/5.106, allocations: 5.375 kB / 2.39 GB, free: 45.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01218/5.118, allocations: 3.042 MB / 2.393 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001385/5.12, allocations: 5.3 MB / 2.399 GB, free: 40.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-05/5.12, allocations: 17.41 kB / 2.399 GB, free: 40.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/5.121, allocations: 371.5 kB / 2.399 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/5.122, allocations: 251.5 kB / 2.399 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/5.125, allocations: 1.349 MB / 2.401 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/5.127, allocations: 140 kB / 2.401 GB, free: 39.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/5.127, allocations: 94.8 kB / 2.401 GB, free: 39.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/5.127, allocations: 7.656 kB / 2.401 GB, free: 39.57 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/5.138, allocations: 2.731 MB / 2.403 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.42e-05/5.138, allocations: 14.5 kB / 2.403 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/5.138, allocations: 167.8 kB / 2.404 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/5.14, allocations: 278.9 kB / 2.404 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/5.142, allocations: 2.043 MB / 2.406 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/5.144, allocations: 106.2 kB / 2.406 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/5.144, allocations: 90.27 kB / 2.406 GB, free: 38.27 MB / 0.4948 GB 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.00047/5.144, allocations: 143.8 kB / 2.406 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/5.145, allocations: 106 kB / 2.406 GB, free: 38.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/5.148, allocations: 1.31 MB / 2.408 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/5.148, allocations: 5.219 kB / 2.408 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/5.148, allocations: 0 / 2.408 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/5.148, allocations: 14.31 kB / 2.408 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/5.152, allocations: 1.98 MB / 2.41 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/5.152, allocations: 0 / 2.41 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/5.153, allocations: 78.98 kB / 2.41 GB, free: 37.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/5.154, allocations: 349.6 kB / 2.41 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/5.154, allocations: 15.05 kB / 2.41 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/5.156, allocations: 1.253 MB / 2.411 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/5.156, allocations: 4.312 kB / 2.411 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002/5.158, allocations: 1.083 MB / 2.412 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/5.158, allocations: 191.2 kB / 2.412 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/5.159, allocations: 3.312 kB / 2.412 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/5.159, allocations: 41.47 kB / 2.412 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/5.16, allocations: 37.03 kB / 2.412 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/5.16, allocations: 43.67 kB / 2.413 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008387/5.161, allocations: 0.597 MB / 2.413 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008245/5.169, allocations: 1.797 MB / 2.415 GB, free: 36.22 MB / 0.4948 GB 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.01044/5.179, allocations: 2.738 MB / 2.418 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004244/5.184, allocations: 1.876 MB / 2.419 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/5.184, allocations: 3.375 kB / 2.419 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009071/5.184, allocations: 404 kB / 2.42 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/5.187, allocations: 401.1 kB / 2.42 GB, free: 35.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/5.191, allocations: 1.788 MB / 2.422 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/5.193, allocations: 1.478 MB / 2.423 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/5.193, allocations: 0 / 2.423 GB, free: 34.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.08665/5.279, allocations: 48.82 MB / 2.471 GB, free: 22.22 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)