Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8796/0.8796, allocations: 133.6 MB / 141.6 MB, free: 2.941 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.675/1.675, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.0009342/0.0009342, allocations: 99.28 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.412e-05, allocations: 4 kB / 0.5535 GB, free: 9.027 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6601, allocations: 82.3 MB / 0.6338 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.184, allocations: 1.9 GB / 2.534 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/5.184, allocations: 87.95 kB / 2.534 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.106/6.29, allocations: 322.2 MB / 2.849 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/6.29, allocations: 0 / 2.849 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001576/6.29, allocations: 59.92 kB / 2.849 GB, free: 85.52 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003957/6.294, allocations: 2.101 MB / 2.851 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/6.294, allocations: 8.031 kB / 2.851 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/6.298, allocations: 0.5487 MB / 2.851 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/6.301, allocations: 2.172 MB / 2.854 GB, free: 80.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/6.301, allocations: 56 kB / 2.854 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/6.301, allocations: 100 kB / 2.854 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002469/6.304, allocations: 1.814 MB / 2.856 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/6.306, allocations: 1.55 MB / 2.857 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/6.306, allocations: 7.984 kB / 2.857 GB, free: 77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/6.306, allocations: 0 / 2.857 GB, free: 77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/6.306, allocations: 43.94 kB / 2.857 GB, free: 76.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008899/6.315, allocations: 5.704 MB / 2.863 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/6.317, allocations: 1.78 MB / 2.864 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/6.318, allocations: 0.6322 MB / 2.865 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/6.319, allocations: 425.7 kB / 2.865 GB, free: 68.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/6.32, allocations: 0.8348 MB / 2.866 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.747e-06/6.32, allocations: 0 / 2.866 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003557/6.323, allocations: 1.553 MB / 2.868 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/6.323, allocations: 252.6 kB / 2.868 GB, free: 65.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/6.326, allocations: 2.244 MB / 2.87 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/6.327, allocations: 29.7 kB / 2.87 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/6.327, allocations: 0.8699 MB / 2.871 GB, free: 62.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/6.328, allocations: 441.3 kB / 2.871 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/6.328, allocations: 3.938 kB / 2.871 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/6.328, allocations: 353.9 kB / 2.872 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/6.328, allocations: 470.4 kB / 2.872 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/6.329, allocations: 0.6732 MB / 2.873 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/6.33, allocations: 0.5469 MB / 2.873 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/6.33, allocations: 0 / 2.873 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002849/6.333, allocations: 1.498 MB / 2.875 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/6.333, allocations: 4 kB / 2.875 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/6.333, allocations: 0 / 2.875 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/6.334, allocations: 208.2 kB / 2.875 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/6.335, allocations: 303.6 kB / 2.875 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/6.339, allocations: 6.53 MB / 2.882 GB, free: 50.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/6.341, allocations: 119.2 kB / 2.882 GB, free: 50.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/6.341, allocations: 63.97 kB / 2.882 GB, free: 50.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 126 * 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.000374/6.341, allocations: 139.3 kB / 2.882 GB, free: 50.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/6.342, allocations: 173.8 kB / 2.882 GB, free: 49.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003756/6.346, allocations: 1.913 MB / 2.884 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/6.346, allocations: 16 kB / 2.884 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/6.346, allocations: 8 kB / 2.884 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/6.346, allocations: 7.969 kB / 2.884 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/6.351, allocations: 3.833 MB / 2.888 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/6.351, allocations: 0 / 2.888 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/6.353, allocations: 319.6 kB / 2.888 GB, free: 43.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/6.354, allocations: 216.1 kB / 2.888 GB, free: 43.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.755e-05/6.354, allocations: 27.97 kB / 2.888 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003633/6.357, allocations: 6.55 MB / 2.895 GB, free: 36.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/6.357, allocations: 0 / 2.895 GB, free: 36.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/6.36, allocations: 1.697 MB / 2.896 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/6.362, allocations: 0.6582 MB / 2.897 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/6.362, allocations: 4 kB / 2.897 GB, free: 34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/6.363, allocations: 103.8 kB / 2.897 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/6.363, allocations: 105.2 kB / 2.897 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/6.364, allocations: 87.95 kB / 2.897 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001999/6.366, allocations: 1.757 MB / 2.899 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/6.366, allocations: 0 / 2.899 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002477/6.368, allocations: 0.7637 MB / 2.9 GB, free: 31.19 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) * 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.002541/6.371, allocations: 1.765 MB / 2.902 GB, free: 29.51 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002097/6.373, allocations: 1.714 MB / 2.903 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/6.373, allocations: 4.562 kB / 2.903 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/6.374, allocations: 1.224 MB / 2.904 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/6.376, allocations: 431.8 kB / 2.905 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/6.382, allocations: 2.789 MB / 2.908 GB, free: 23.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/6.383, allocations: 1.548 MB / 2.909 GB, free: 21.65 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002436/6.385, allocations: 0.6638 MB / 2.91 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007623/6.386, allocations: 235.2 kB / 2.91 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/6.386, allocations: 0 / 2.91 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.5308/6.917, allocations: 36.77 MB / 2.946 GB, free: 159.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)