Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") [: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/Annex60 1.0.0/package.mo): time 0.2838/0.2838, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001247/0.001247, allocations: 180.2 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.2 MB / 283.2 MB, free: 3.496 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001848/0.001848, allocations: 109.3 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.362e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 57.64 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.957/5.1, allocations: 2.137 GB / 2.589 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/5.1, allocations: 87.58 kB / 2.589 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.317/8.417, allocations: 0.845 GB / 3.434 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002266/8.417, allocations: 35.64 kB / 3.434 GB, free: 54.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006146/8.423, allocations: 1.639 MB / 3.435 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/8.423, allocations: 11.69 kB / 3.435 GB, free: 53.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/8.427, allocations: 411.9 kB / 3.436 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/8.431, allocations: 1.185 MB / 3.437 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/8.431, allocations: 31.72 kB / 3.437 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004554/8.432, allocations: 56.19 kB / 3.437 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002608/8.434, allocations: 0.8879 MB / 3.438 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/8.437, allocations: 0.8874 MB / 3.439 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/8.437, allocations: 0 / 3.439 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/8.437, allocations: 3.094 kB / 3.439 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/8.437, allocations: 34.38 kB / 3.439 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008074/8.445, allocations: 4.117 MB / 3.443 GB, free: 51.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/8.447, allocations: 0.633 MB / 3.443 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/8.447, allocations: 367.3 kB / 3.444 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004813/8.448, allocations: 379.8 kB / 3.444 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/8.448, allocations: 41.16 kB / 3.444 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 3.066e-06/8.448, allocations: 0 / 3.444 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.003189/8.451, allocations: 0.9589 MB / 3.445 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/8.451, allocations: 55.97 kB / 3.445 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/8.452, allocations: 0.6005 MB / 3.446 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/8.452, allocations: 32.8 kB / 3.446 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/8.452, allocations: 408 kB / 3.446 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/8.453, allocations: 224.1 kB / 3.446 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/8.453, allocations: 3.844 kB / 3.446 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/8.453, allocations: 330.8 kB / 3.447 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/8.453, allocations: 269.5 kB / 3.447 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/8.454, allocations: 385.1 kB / 3.447 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/8.454, allocations: 414.3 kB / 3.448 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/8.454, allocations: 0 / 3.448 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001626/8.456, allocations: 0.8708 MB / 3.449 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/8.456, allocations: 0.698 MB / 3.449 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/8.456, allocations: 3.906 kB / 3.449 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/8.456, allocations: 3.344 kB / 3.449 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/8.457, allocations: 174.8 kB / 3.449 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/8.457, allocations: 7.25 kB / 3.449 GB, free: 49.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/8.459, allocations: 122.9 kB / 3.45 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/8.459, allocations: 25.34 kB / 3.45 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/8.459, allocations: 6.75 kB / 3.45 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/8.46, allocations: 0.7121 MB / 3.45 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/8.46, allocations: 0 / 3.45 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/8.46, allocations: 6.031 kB / 3.45 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/8.461, allocations: 163.9 kB / 3.45 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/8.461, allocations: 8.094 kB / 3.45 GB, free: 49.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/8.462, allocations: 109.2 kB / 3.451 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/8.462, allocations: 28.83 kB / 3.451 GB, free: 49.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0002607/8.462, allocations: 113.6 kB / 3.451 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/8.463, allocations: 104.4 kB / 3.451 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/8.465, allocations: 0.8325 MB / 3.452 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/8.465, allocations: 6.031 kB / 3.452 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/8.465, allocations: 0 / 3.452 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/8.466, allocations: 0.9971 MB / 3.453 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/8.47, allocations: 1.96 MB / 3.455 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/8.47, allocations: 3.812 kB / 3.455 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/8.471, allocations: 175.7 kB / 3.455 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.796e-05/8.471, allocations: 12.17 kB / 3.455 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/8.471, allocations: 11.72 kB / 3.455 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/8.471, allocations: 11.25 kB / 3.455 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/8.471, allocations: 6.5 kB / 3.455 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002234/8.474, allocations: 1.52 MB / 3.456 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/8.474, allocations: 276.8 kB / 3.456 GB, free: 47.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/8.475, allocations: 13.94 kB / 3.456 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/8.476, allocations: 101.5 kB / 3.457 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/8.476, allocations: 43.56 kB / 3.457 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/8.476, allocations: 42.14 kB / 3.457 GB, free: 47.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008475/8.477, allocations: 478.9 kB / 3.457 GB, free: 47.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003004/8.48, allocations: 0.763 MB / 3.458 GB, free: 47.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.00442/8.485, allocations: 2.577 MB / 3.46 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002045/8.487, allocations: 1.044 MB / 3.461 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/8.487, allocations: 0 / 3.461 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/8.487, allocations: 358.9 kB / 3.462 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/8.491, allocations: 0.5156 MB / 3.462 GB, free: 46.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/8.496, allocations: 1.858 MB / 3.464 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/8.497, allocations: 1.304 MB / 3.465 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/8.497, allocations: 0 / 3.465 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.06651/8.564, allocations: 36.58 MB / 3.501 GB, free: 43.59 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)