Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") [: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.001464/0.001464, allocations: 185.1 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4751/0.4751, allocations: 90.85 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 98.97 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.506e-06, allocations: 0 / 493.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 72.3 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.369/3.755, allocations: 1.882 GB / 2.435 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/3.756, allocations: 83.95 kB / 2.435 GB, free: 196.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.542/5.297, allocations: 489.1 MB / 2.912 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.691e-05/5.298, allocations: 19.38 kB / 2.912 GB, free: 119.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.003064/5.301, allocations: 0.9883 MB / 2.913 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/5.301, allocations: 8.594 kB / 2.913 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/5.303, allocations: 218.6 kB / 2.914 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/5.306, allocations: 0.9188 MB / 2.914 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/5.306, allocations: 14.12 kB / 2.914 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/5.306, allocations: 33.28 kB / 2.914 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001035/5.307, allocations: 445.9 kB / 2.915 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/5.308, allocations: 0.5249 MB / 2.915 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/5.308, allocations: 0 / 2.915 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/5.308, allocations: 7.438 kB / 2.915 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/5.308, allocations: 18.72 kB / 2.915 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/5.312, allocations: 2.46 MB / 2.918 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/5.313, allocations: 329.5 kB / 2.918 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/5.313, allocations: 201.6 kB / 2.918 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/5.313, allocations: 305.3 kB / 2.919 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/5.313, allocations: 42.47 kB / 2.919 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/5.313, allocations: 3.938 kB / 2.919 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001229/5.315, allocations: 448.9 kB / 2.919 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/5.315, allocations: 58.06 kB / 2.919 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/5.315, allocations: 355.8 kB / 2.919 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/5.315, allocations: 25.7 kB / 2.92 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/5.315, allocations: 256 kB / 2.92 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/5.315, allocations: 128.1 kB / 2.92 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/5.315, allocations: 0 / 2.92 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/5.316, allocations: 364.4 kB / 2.92 GB, free: 116 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/5.316, allocations: 140 kB / 2.92 GB, free: 116 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/5.316, allocations: 262.8 kB / 2.921 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/5.316, allocations: 213.5 kB / 2.921 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/5.316, allocations: 0.8438 kB / 2.921 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007618/5.317, allocations: 479.1 kB / 2.921 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002322/5.317, allocations: 0.8729 MB / 2.922 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/5.317, allocations: 8.984 kB / 2.922 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/5.317, allocations: 3.188 kB / 2.922 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/5.318, allocations: 98.89 kB / 2.922 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/5.319, allocations: 0.6036 MB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/5.319, allocations: 63.36 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/5.319, allocations: 18.5 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/5.319, allocations: 10.34 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006957/5.32, allocations: 397.9 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/5.32, allocations: 0 / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/5.32, allocations: 3.812 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/5.321, allocations: 85.14 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/5.321, allocations: 5.031 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/5.321, allocations: 64.5 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/5.321, allocations: 18.91 kB / 2.923 GB, free: 114.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/5.321, allocations: 115.2 kB / 2.924 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/5.322, allocations: 55.25 kB / 2.924 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/5.323, allocations: 440 kB / 2.924 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/5.323, allocations: 3.938 kB / 2.924 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/5.323, allocations: 0 / 2.924 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006661/5.323, allocations: 0.6565 MB / 2.925 GB, free: 113.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/5.326, allocations: 1.128 MB / 2.926 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/5.326, allocations: 0 / 2.926 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/5.326, allocations: 87.92 kB / 2.926 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/5.326, allocations: 7.531 kB / 2.926 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/5.326, allocations: 11.31 kB / 2.926 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003004/5.327, allocations: 0.5933 MB / 2.926 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/5.327, allocations: 10.14 kB / 2.926 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009696/5.328, allocations: 0.7828 MB / 2.927 GB, free: 112.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/5.328, allocations: 173.2 kB / 2.927 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/5.328, allocations: 3.969 kB / 2.927 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/5.329, allocations: 32.69 kB / 2.927 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/5.329, allocations: 27.03 kB / 2.927 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/5.329, allocations: 20.78 kB / 2.927 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003171/5.329, allocations: 283.9 kB / 2.928 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00152/5.331, allocations: 444.6 kB / 2.928 GB, free: 112.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002434/5.333, allocations: 1.558 MB / 2.93 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001266/5.334, allocations: 0.569 MB / 2.93 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/5.334, allocations: 10.75 kB / 2.93 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/5.335, allocations: 180.3 kB / 2.93 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/5.336, allocations: 295.4 kB / 2.931 GB, free: 111.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/5.338, allocations: 1.047 MB / 2.932 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006482/5.339, allocations: 1.007 MB / 2.933 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/5.339, allocations: 0 / 2.933 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.03453/5.374, allocations: 19.91 MB / 2.952 GB, free: 109.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)