Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") [: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.003107/0.003107, allocations: 184.6 kB / 7.456 MB, free: 2.508 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.271/1.271, allocations: 194.2 MB / 202.1 MB, free: 9.148 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.001633/0.001633, allocations: 118.9 kB / 247.1 MB, free: 6.195 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.1827/0.1827, allocations: 39.95 MB / 331.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.394e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 54.88 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.433, allocations: 0.5946 GB / 1.032 GB, free: 170.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.433, allocations: 83.92 kB / 1.032 GB, free: 170.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.9395/2.373, allocations: 344.1 MB / 1.368 GB, free: 11.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001415/2.373, allocations: 29.33 kB / 1.368 GB, free: 11.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005725/2.379, allocations: 1.566 MB / 1.369 GB, free: 9.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/2.379, allocations: 12.02 kB / 1.369 GB, free: 9.523 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/2.381, allocations: 198.6 kB / 1.37 GB, free: 9.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/2.383, allocations: 0.8376 MB / 1.37 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/2.383, allocations: 23.98 kB / 1.37 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/2.384, allocations: 40 kB / 1.37 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001978/2.386, allocations: 0.9989 MB / 1.371 GB, free: 7.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/2.388, allocations: 1.055 MB / 1.372 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/2.388, allocations: 0 / 1.372 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/2.388, allocations: 4 kB / 1.372 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.304e-05/2.388, allocations: 85.25 kB / 1.373 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008225/2.396, allocations: 4.341 MB / 1.377 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/2.397, allocations: 0.6231 MB / 1.377 GB, free: 1.062 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/2.398, allocations: 306.1 kB / 1.378 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/2.398, allocations: 316.5 kB / 1.378 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/2.398, allocations: 39 kB / 1.378 GB, free: 364 kB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/2.398, allocations: 0 / 1.378 GB, free: 364 kB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.1796/2.578, allocations: 0.973 MB / 1.379 GB, free: 95.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/2.578, allocations: 210 kB / 1.379 GB, free: 95.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/2.579, allocations: 0.6663 MB / 1.38 GB, free: 95.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/2.579, allocations: 25.7 kB / 1.38 GB, free: 95.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/2.579, allocations: 397.8 kB / 1.38 GB, free: 95.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/2.579, allocations: 170.2 kB / 1.38 GB, free: 95.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/2.579, allocations: 0 / 1.38 GB, free: 95.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/2.579, allocations: 397.4 kB / 1.381 GB, free: 94.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/2.58, allocations: 371.1 kB / 1.381 GB, free: 94.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/2.581, allocations: 0.5962 MB / 1.382 GB, free: 94.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009138/2.59, allocations: 1.99 MB / 1.384 GB, free: 94.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/2.59, allocations: 0 / 1.384 GB, free: 94.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0108/2.601, allocations: 2.768 MB / 1.386 GB, free: 94.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004519/2.601, allocations: 2.435 MB / 1.389 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/2.601, allocations: 9.578 kB / 1.389 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003605/2.605, allocations: 0.6442 MB / 1.389 GB, free: 91.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/2.605, allocations: 174.6 kB / 1.39 GB, free: 91.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/2.607, allocations: 1.377 MB / 1.391 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/2.609, allocations: 107.6 kB / 1.391 GB, free: 91.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/2.609, allocations: 73.78 kB / 1.391 GB, free: 91.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/2.609, allocations: 5.281 kB / 1.391 GB, free: 91.28 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/2.619, allocations: 2.485 MB / 1.393 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/2.619, allocations: 3.969 kB / 1.393 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/2.62, allocations: 157.8 kB / 1.394 GB, free: 91.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/2.62, allocations: 210.4 kB / 1.394 GB, free: 91.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/2.623, allocations: 1.989 MB / 1.396 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/2.624, allocations: 79 kB / 1.396 GB, free: 90.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/2.624, allocations: 70.44 kB / 1.396 GB, free: 90.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002778/2.624, allocations: 132 kB / 1.396 GB, free: 89.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/2.624, allocations: 82.59 kB / 1.396 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/2.627, allocations: 1.141 MB / 1.397 GB, free: 89.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/2.627, allocations: 3.812 kB / 1.397 GB, free: 89.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/2.627, allocations: 6.547 kB / 1.397 GB, free: 89.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.627, allocations: 2.656 kB / 1.397 GB, free: 89.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/2.63, allocations: 1.741 MB / 1.399 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/2.63, allocations: 0 / 1.399 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/2.63, allocations: 49.91 kB / 1.399 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/2.632, allocations: 0.4906 MB / 1.399 GB, free: 89.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/2.632, allocations: 3.625 kB / 1.399 GB, free: 89.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/2.634, allocations: 1.316 MB / 1.401 GB, free: 88.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.634, allocations: 0 / 1.401 GB, free: 88.93 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001946/2.636, allocations: 1.042 MB / 1.402 GB, free: 88.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/2.637, allocations: 189.1 kB / 1.402 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/2.637, allocations: 2.844 kB / 1.402 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/2.637, allocations: 38.02 kB / 1.402 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/2.637, allocations: 33.12 kB / 1.402 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/2.638, allocations: 29.91 kB / 1.402 GB, free: 88.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000684/2.638, allocations: 0.498 MB / 1.403 GB, free: 88.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004708/2.643, allocations: 1.164 MB / 1.404 GB, free: 88.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005204/2.648, allocations: 2.013 MB / 1.406 GB, free: 88.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/2.651, allocations: 1.457 MB / 1.407 GB, free: 88.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.651, allocations: 3.656 kB / 1.407 GB, free: 88.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/2.651, allocations: 336.8 kB / 1.407 GB, free: 88.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/2.654, allocations: 411.9 kB / 1.408 GB, free: 88.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/2.662, allocations: 2.929 MB / 1.411 GB, free: 87.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/2.663, allocations: 1.194 MB / 1.412 GB, free: 87.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/2.663, allocations: 0 / 1.412 GB, free: 87.1 MB / 474.7 MB Notification: Performance of Templates: time 0.06008/2.724, allocations: 37.99 MB / 1.449 GB, free: 85.44 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)