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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008996/0.008996, allocations: 171.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7942/0.7942, allocations: 132.3 MB / 148.1 MB, free: 268 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 223.2 MB / 403.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 105.3 kB / 485.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 15.98 kB / 0.5641 GB, free: 2.082 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4787, allocations: 81.57 MB / 0.6437 GB, free: 39.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.063/5.542, allocations: 1.901 GB / 2.545 GB, free: 62.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/5.542, allocations: 90.17 kB / 2.545 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.185/6.727, allocations: 326.3 MB / 2.864 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/6.727, allocations: 0 / 2.864 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.00016/6.727, allocations: 55.92 kB / 2.864 GB, free: 13.42 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005053/6.732, allocations: 2.603 MB / 2.866 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/6.732, allocations: 8.031 kB / 2.866 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/6.736, allocations: 0.5589 MB / 2.867 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/6.74, allocations: 2.188 MB / 2.869 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/6.74, allocations: 127.2 kB / 2.869 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/6.741, allocations: 160 kB / 2.869 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/6.744, allocations: 1.868 MB / 2.871 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/6.744, allocations: 0 / 2.871 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/6.744, allocations: 68 kB / 2.871 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/6.744, allocations: 43.95 kB / 2.871 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/6.747, allocations: 2.042 MB / 2.873 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.527/7.274, allocations: 6.203 MB / 2.879 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/7.278, allocations: 1.999 MB / 2.881 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/7.279, allocations: 428.8 kB / 2.881 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/7.281, allocations: 0.9357 MB / 2.882 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.767e-06/7.281, allocations: 0 / 2.882 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.007669/7.289, allocations: 2.883 MB / 2.885 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/7.289, allocations: 252.5 kB / 2.885 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/7.293, allocations: 2.457 MB / 2.888 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003495/7.293, allocations: 56.64 kB / 2.888 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/7.294, allocations: 0.8739 MB / 2.889 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004339/7.294, allocations: 458.5 kB / 2.889 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/7.294, allocations: 22.5 kB / 2.889 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/7.295, allocations: 346.8 kB / 2.89 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/7.296, allocations: 0.5401 MB / 2.89 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/7.297, allocations: 0.764 MB / 2.891 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/7.298, allocations: 0.6185 MB / 2.891 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/7.298, allocations: 3.062 kB / 2.891 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004635/7.303, allocations: 1.706 MB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/7.303, allocations: 5.5 kB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/7.303, allocations: 4.312 kB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/7.304, allocations: 215.2 kB / 2.893 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/7.305, allocations: 315.5 kB / 2.894 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/7.31, allocations: 6.852 MB / 2.9 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/7.313, allocations: 165.4 kB / 2.9 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/7.313, allocations: 76.11 kB / 2.901 GB, free: 144.8 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked 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.001776/7.315, allocations: 470.7 kB / 2.901 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009087/7.316, allocations: 182.2 kB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00539/7.321, allocations: 2.159 MB / 2.903 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/7.321, allocations: 12.53 kB / 2.903 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/7.321, allocations: 6.562 kB / 2.903 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/7.321, allocations: 7.172 kB / 2.903 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009691/7.331, allocations: 4.247 MB / 2.907 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/7.331, allocations: 3.375 kB / 2.907 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/7.333, allocations: 337.6 kB / 2.908 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/7.334, allocations: 208.3 kB / 2.908 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/7.334, allocations: 43.03 kB / 2.908 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/7.339, allocations: 6.89 MB / 2.915 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/7.339, allocations: 0 / 2.915 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005122/7.344, allocations: 1.909 MB / 2.917 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/7.346, allocations: 0.6657 MB / 2.917 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005898/7.347, allocations: 34.12 kB / 2.917 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/7.349, allocations: 141.2 kB / 2.917 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/7.349, allocations: 102.2 kB / 2.918 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/7.349, allocations: 86.7 kB / 2.918 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003184/7.353, allocations: 1.946 MB / 2.92 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/7.353, allocations: 3.844 kB / 2.92 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003678/7.356, allocations: 0.8257 MB / 2.92 GB, free: 137 MB / 0.6823 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) * Number of clocked states: 0 () * 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.00411/7.36, allocations: 1.696 MB / 2.922 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003698/7.364, allocations: 1.916 MB / 2.924 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/7.364, allocations: 4.312 kB / 2.924 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/7.366, allocations: 1.357 MB / 2.925 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/7.369, allocations: 475.1 kB / 2.926 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/7.378, allocations: 4.511 MB / 2.93 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/7.38, allocations: 1.55 MB / 2.932 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003139/7.383, allocations: 0.6618 MB / 2.932 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/7.384, allocations: 246.3 kB / 2.932 GB, free: 133 MB / 0.6823 GB Notification: Performance of SimCode: time 1.833e-06/7.384, allocations: 3.531 kB / 2.932 GB, free: 133 MB / 0.6823 GB Notification: Performance of Templates: time 0.07739/7.462, allocations: 47 MB / 2.978 GB, free: 130.9 MB / 0.6823 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)