Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") [: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.003794/0.003794, allocations: 182.9 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7039/0.7039, allocations: 130.6 MB / 138.5 MB, free: 2.168 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.749/1.749, allocations: 221.4 MB / 391.4 MB, free: 13.08 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.001066/0.001066, allocations: 116.7 kB / 473.5 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.849e-06/9.869e-06, allocations: 2.906 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.17/4.352, allocations: 1.9 GB / 2.528 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/4.352, allocations: 84.47 kB / 2.528 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.137/5.49, allocations: 326.6 MB / 2.847 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003707/5.49, allocations: 49.41 kB / 2.847 GB, free: 149.6 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.007899/5.498, allocations: 2.158 MB / 2.849 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/5.498, allocations: 9.312 kB / 2.849 GB, free: 148.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/5.504, allocations: 0.5862 MB / 2.85 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007208/5.511, allocations: 2.256 MB / 2.852 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/5.511, allocations: 52.25 kB / 2.852 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/5.512, allocations: 96.66 kB / 2.852 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004455/5.516, allocations: 1.884 MB / 2.854 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/5.519, allocations: 1.59 MB / 2.855 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/5.519, allocations: 6.688 kB / 2.855 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/5.52, allocations: 6.344 kB / 2.855 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/5.52, allocations: 39.66 kB / 2.856 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/5.531, allocations: 6.02 MB / 2.861 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/5.534, allocations: 1.82 MB / 2.863 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/5.535, allocations: 0.6662 MB / 2.864 GB, free: 143.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007979/5.536, allocations: 0.7454 MB / 2.865 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/5.537, allocations: 0.8655 MB / 2.865 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=137): time 3.647e-06/5.537, allocations: 0 / 2.865 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=137): time 0.00482/5.542, allocations: 1.596 MB / 2.867 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/5.542, allocations: 251.8 kB / 2.867 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/5.547, allocations: 2.351 MB / 2.869 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003697/5.547, allocations: 28.58 kB / 2.87 GB, free: 140.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/5.548, allocations: 0.5815 MB / 2.87 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/5.548, allocations: 435.1 kB / 2.87 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/5.548, allocations: 0 / 2.87 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001122/5.548, allocations: 352.2 kB / 2.871 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/5.549, allocations: 490.6 kB / 2.871 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/5.55, allocations: 0.6946 MB / 2.872 GB, free: 138.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/5.552, allocations: 0.5633 MB / 2.873 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/5.552, allocations: 7.188 kB / 2.873 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003711/5.555, allocations: 1.532 MB / 2.874 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/5.555, allocations: 6.656 kB / 2.874 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/5.555, allocations: 3.938 kB / 2.874 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/5.556, allocations: 199.8 kB / 2.874 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/5.558, allocations: 314.4 kB / 2.875 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/5.564, allocations: 6.511 MB / 2.881 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/5.567, allocations: 129.7 kB / 2.881 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/5.567, allocations: 71.67 kB / 2.881 GB, free: 131 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007199/5.568, allocations: 130.4 kB / 2.881 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/5.569, allocations: 174.9 kB / 2.881 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/5.575, allocations: 2.018 MB / 2.883 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/5.575, allocations: 14.88 kB / 2.883 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/5.575, allocations: 1.688 kB / 2.883 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/5.576, allocations: 11.81 kB / 2.883 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/5.586, allocations: 3.862 MB / 2.887 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/5.586, allocations: 6.969 kB / 2.887 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/5.588, allocations: 333.6 kB / 2.887 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/5.589, allocations: 209.1 kB / 2.888 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/5.589, allocations: 27.95 kB / 2.888 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/5.595, allocations: 6.526 MB / 2.894 GB, free: 119 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/5.595, allocations: 8.031 kB / 2.894 GB, free: 119 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004291/5.599, allocations: 1.709 MB / 2.896 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/5.601, allocations: 0.6601 MB / 2.896 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009209/5.602, allocations: 7.125 kB / 2.896 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/5.605, allocations: 118.1 kB / 2.896 GB, free: 116.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/5.605, allocations: 84.81 kB / 2.897 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/5.605, allocations: 91.94 kB / 2.897 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.003398/5.609, allocations: 1.812 MB / 2.898 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00397/5.612, allocations: 0.7773 MB / 2.899 GB, free: 113.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004131/5.617, allocations: 1.713 MB / 2.901 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003101/5.62, allocations: 1.719 MB / 2.903 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/5.62, allocations: 0.6562 kB / 2.903 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/5.622, allocations: 1.206 MB / 2.904 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/5.625, allocations: 415.8 kB / 2.904 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/5.635, allocations: 3.012 MB / 2.907 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003676/5.639, allocations: 1.864 MB / 2.909 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.795e-06/5.639, allocations: 0 / 2.909 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.06983/5.709, allocations: 39.05 MB / 2.947 GB, free: 66.78 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)