Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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 4.0.0+maint.om/package.mo): time 0.003509/0.003509, allocations: 182.6 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.678/0.678, allocations: 130.6 MB / 138.5 MB, free: 2.133 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.4 MB / 391.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 101.8 kB / 473.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/9.097e-06, allocations: 1.719 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.249/4.424, allocations: 1.89 GB / 2.517 GB, free: 247.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/4.425, allocations: 87.33 kB / 2.517 GB, free: 247.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.831/7.256, allocations: 0.8012 GB / 3.319 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000169/7.256, allocations: 31.27 kB / 3.319 GB, free: 103.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004509/7.261, allocations: 1.221 MB / 3.32 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/7.261, allocations: 8.594 kB / 3.32 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/7.263, allocations: 279.8 kB / 3.32 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/7.266, allocations: 0.8086 MB / 3.321 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/7.266, allocations: 17.03 kB / 3.321 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/7.266, allocations: 36.78 kB / 3.321 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/7.267, allocations: 0.5717 MB / 3.321 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/7.269, allocations: 0.5265 MB / 3.322 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/7.269, allocations: 3.906 kB / 3.322 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/7.269, allocations: 6.938 kB / 3.322 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/7.269, allocations: 11.03 kB / 3.322 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/7.273, allocations: 2.658 MB / 3.325 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/7.274, allocations: 487.6 kB / 3.325 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/7.275, allocations: 336.2 kB / 3.325 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/7.275, allocations: 0.6343 MB / 3.326 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/7.275, allocations: 43.81 kB / 3.326 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 2.986e-06/7.275, allocations: 0 / 3.326 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002808/7.278, allocations: 0.951 MB / 3.327 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/7.278, allocations: 55.31 kB / 3.327 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/7.279, allocations: 466.1 kB / 3.328 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/7.279, allocations: 28.42 kB / 3.328 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/7.279, allocations: 248.8 kB / 3.328 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/7.279, allocations: 149.5 kB / 3.328 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/7.279, allocations: 0 / 3.328 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/7.279, allocations: 377.8 kB / 3.328 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/7.28, allocations: 231 kB / 3.328 GB, free: 99.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/7.28, allocations: 356.2 kB / 3.329 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/7.281, allocations: 350 kB / 3.329 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/7.281, allocations: 0 / 3.329 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001496/7.282, allocations: 0.7998 MB / 3.33 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/7.282, allocations: 268.8 kB / 3.33 GB, free: 99.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.282, allocations: 3.906 kB / 3.33 GB, free: 99.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/7.283, allocations: 61.16 kB / 3.33 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/7.283, allocations: 104.8 kB / 3.33 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/7.284, allocations: 0.6448 MB / 3.331 GB, free: 98.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/7.285, allocations: 80.73 kB / 3.331 GB, free: 98.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/7.285, allocations: 22.64 kB / 3.331 GB, free: 98.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/7.285, allocations: 3.938 kB / 3.331 GB, free: 98.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001211/7.286, allocations: 0.668 MB / 3.332 GB, free: 98.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/7.286, allocations: 0 / 3.332 GB, free: 98.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/7.286, allocations: 63.05 kB / 3.332 GB, free: 98.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/7.287, allocations: 103.2 kB / 3.332 GB, free: 98.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/7.288, allocations: 1.625 MB / 3.333 GB, free: 97.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/7.289, allocations: 81.56 kB / 3.334 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/7.289, allocations: 26.05 kB / 3.334 GB, free: 97.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (43): * Single equations (assignments): 42 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/7.289, allocations: 118.6 kB / 3.334 GB, free: 97.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/7.289, allocations: 68.47 kB / 3.334 GB, free: 97.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/7.291, allocations: 0.837 MB / 3.335 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/7.291, allocations: 7.875 kB / 3.335 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/7.291, allocations: 0 / 3.335 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/7.291, allocations: 2.875 kB / 3.335 GB, free: 97.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/7.294, allocations: 1.68 MB / 3.336 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/7.294, allocations: 3.625 kB / 3.336 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/7.295, allocations: 94.83 kB / 3.336 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/7.295, allocations: 52.34 kB / 3.336 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/7.295, allocations: 6.438 kB / 3.336 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/7.295, allocations: 0.6071 MB / 3.337 GB, free: 96.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/7.295, allocations: 3.062 kB / 3.337 GB, free: 96.32 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001759/7.297, allocations: 1.324 MB / 3.338 GB, free: 95.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/7.298, allocations: 207.7 kB / 3.338 GB, free: 95.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/7.298, allocations: 11.56 kB / 3.338 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/7.299, allocations: 84.53 kB / 3.339 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/7.299, allocations: 39.31 kB / 3.339 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/7.299, allocations: 20.41 kB / 3.339 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004732/7.299, allocations: 361 kB / 3.339 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002064/7.301, allocations: 0.526 MB / 3.339 GB, free: 95.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (45): * Single equations (assignments): 44 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/7.305, allocations: 2.381 MB / 3.342 GB, free: 94.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001897/7.307, allocations: 0.9605 MB / 3.343 GB, free: 94.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/7.307, allocations: 0 / 3.343 GB, free: 94.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004875/7.307, allocations: 290.2 kB / 3.343 GB, free: 94.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/7.31, allocations: 450.8 kB / 3.343 GB, free: 94.71 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/7.316, allocations: 1.538 MB / 3.345 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/7.318, allocations: 1.06 MB / 3.346 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/7.318, allocations: 0 / 3.346 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.04853/7.366, allocations: 30.24 MB / 3.376 GB, free: 92.86 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)