Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002066/0.002066, allocations: 176.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-master/package.mo): time 0.5987/0.5987, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.3 MB / 395 MB, free: 10.15 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.0008709/0.0008709, allocations: 96.64 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.364e-06, allocations: 0 / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.812/2.923, allocations: 1.891 GB / 2.524 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/2.924, allocations: 83.95 kB / 2.524 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.247/4.171, allocations: 487.5 MB / 3 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.117e-05/4.171, allocations: 23.94 kB / 3.001 GB, free: 124.4 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001451/4.172, allocations: 0.9865 MB / 3.001 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/4.172, allocations: 12.03 kB / 3.001 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/4.173, allocations: 206.9 kB / 3.002 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/4.175, allocations: 0.9286 MB / 3.003 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/4.175, allocations: 16 kB / 3.003 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/4.175, allocations: 32 kB / 3.003 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000608/4.176, allocations: 442.5 kB / 3.003 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/4.177, allocations: 0.5283 MB / 3.004 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/4.177, allocations: 0 / 3.004 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/4.177, allocations: 0 / 3.004 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/4.177, allocations: 21.31 kB / 3.004 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/4.179, allocations: 2.356 MB / 3.006 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/4.179, allocations: 335.5 kB / 3.006 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/4.179, allocations: 197.8 kB / 3.006 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/4.18, allocations: 306.9 kB / 3.007 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/4.18, allocations: 34.56 kB / 3.007 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.293e-06/4.18, allocations: 7.938 kB / 3.007 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.0009199/4.181, allocations: 453 kB / 3.007 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/4.181, allocations: 55.41 kB / 3.007 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/4.181, allocations: 357.3 kB / 3.008 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/4.181, allocations: 25.7 kB / 3.008 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/4.181, allocations: 256.3 kB / 3.008 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/4.181, allocations: 130 kB / 3.008 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/4.181, allocations: 4 kB / 3.008 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/4.181, allocations: 358.8 kB / 3.008 GB, free: 116 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/4.182, allocations: 132.8 kB / 3.008 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/4.182, allocations: 271.2 kB / 3.009 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/4.182, allocations: 213.4 kB / 3.009 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/4.182, allocations: 0 / 3.009 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005847/4.183, allocations: 482.5 kB / 3.009 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/4.183, allocations: 0.8731 MB / 3.01 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/4.183, allocations: 4 kB / 3.01 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/4.183, allocations: 4 kB / 3.01 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/4.183, allocations: 107.5 kB / 3.01 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002556/4.184, allocations: 0.5939 MB / 3.011 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/4.184, allocations: 59.64 kB / 3.011 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/4.184, allocations: 16 kB / 3.011 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-06/4.184, allocations: 4 kB / 3.011 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005156/4.185, allocations: 395.5 kB / 3.011 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/4.185, allocations: 3.984 kB / 3.011 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/4.185, allocations: 4 kB / 3.011 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/4.185, allocations: 91.84 kB / 3.011 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/4.185, allocations: 4 kB / 3.011 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/4.185, allocations: 51.94 kB / 3.011 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/4.185, allocations: 15.98 kB / 3.012 GB, free: 112.6 MB / 0.6823 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 8.258e-05/4.186, allocations: 120.8 kB / 3.012 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/4.186, allocations: 51.44 kB / 3.012 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/4.186, allocations: 434.8 kB / 3.012 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/4.186, allocations: 4 kB / 3.012 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/4.186, allocations: 0 / 3.012 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004301/4.187, allocations: 0.648 MB / 3.013 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/4.188, allocations: 1.13 MB / 3.014 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/4.188, allocations: 0 / 3.014 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/4.188, allocations: 91.88 kB / 3.014 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/4.188, allocations: 12.16 kB / 3.014 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/4.188, allocations: 12 kB / 3.014 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001572/4.189, allocations: 0.5976 MB / 3.015 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.189, allocations: 4.031 kB / 3.015 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006589/4.189, allocations: 0.8218 MB / 3.015 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/4.189, allocations: 172.4 kB / 3.015 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/4.189, allocations: 7.906 kB / 3.015 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/4.19, allocations: 31.97 kB / 3.016 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/4.19, allocations: 27.88 kB / 3.016 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/4.19, allocations: 16 kB / 3.016 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002122/4.19, allocations: 282.9 kB / 3.016 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008867/4.191, allocations: 447 kB / 3.016 GB, free: 107.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.00135/4.192, allocations: 1.556 MB / 3.018 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008299/4.193, allocations: 0.5762 MB / 3.018 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/4.193, allocations: 0 / 3.018 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/4.194, allocations: 189.3 kB / 3.019 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/4.195, allocations: 293.5 kB / 3.019 GB, free: 105 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/4.196, allocations: 1.039 MB / 3.02 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/4.197, allocations: 1.008 MB / 3.021 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/4.197, allocations: 0 / 3.021 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02289/4.219, allocations: 19.91 MB / 3.04 GB, free: 83.12 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)