Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001587/0.001587, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 130.7 MB / 138.7 MB, free: 3.613 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.672/1.672, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.0009983/0.0009982, allocations: 90.17 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.873e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.5467, allocations: 81.56 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.435, allocations: 1.9 GB / 2.528 GB, free: 50.33 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/5.435, allocations: 87.52 kB / 2.528 GB, free: 50.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.461/6.896, allocations: 322.2 MB / 2.843 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.486e-06/6.896, allocations: 0 / 2.843 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000237/6.897, allocations: 57.59 kB / 2.843 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005224/6.902, allocations: 2.101 MB / 2.845 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/6.902, allocations: 10.41 kB / 2.845 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003855/6.906, allocations: 0.5508 MB / 2.846 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/6.91, allocations: 2.173 MB / 2.848 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/6.91, allocations: 52.66 kB / 2.848 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/6.91, allocations: 97.72 kB / 2.848 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002649/6.913, allocations: 1.805 MB / 2.85 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/6.916, allocations: 1.55 MB / 2.851 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/6.916, allocations: 0 / 2.851 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/6.916, allocations: 3.719 kB / 2.851 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/6.916, allocations: 46.45 kB / 2.851 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/6.927, allocations: 5.701 MB / 2.857 GB, free: 146.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/6.929, allocations: 1.783 MB / 2.858 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/6.93, allocations: 0.635 MB / 2.859 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/6.931, allocations: 422.9 kB / 2.859 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/6.932, allocations: 0.8363 MB / 2.86 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=137): time 3.306e-06/6.933, allocations: 0 / 2.86 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=137): time 0.004312/6.937, allocations: 1.551 MB / 2.862 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/6.937, allocations: 253.1 kB / 2.862 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/6.941, allocations: 2.243 MB / 2.864 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/6.941, allocations: 29.3 kB / 2.864 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00081/6.942, allocations: 0.8731 MB / 2.865 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/6.942, allocations: 443.1 kB / 2.866 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/6.942, allocations: 0 / 2.866 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/6.942, allocations: 348.5 kB / 2.866 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/6.943, allocations: 475.2 kB / 2.866 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/6.944, allocations: 0.6639 MB / 2.867 GB, free: 144 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/6.945, allocations: 0.5476 MB / 2.868 GB, free: 144 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/6.945, allocations: 3.938 kB / 2.868 GB, free: 144 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003005/6.948, allocations: 1.495 MB / 2.869 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/6.948, allocations: 8.188 kB / 2.869 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/6.948, allocations: 0 / 2.869 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000983/6.949, allocations: 220.7 kB / 2.869 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/6.95, allocations: 303 kB / 2.869 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/6.955, allocations: 6.52 MB / 2.876 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/6.957, allocations: 125.9 kB / 2.876 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/6.957, allocations: 67.59 kB / 2.876 GB, free: 137.7 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 (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.0004372/6.957, allocations: 134.8 kB / 2.876 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/6.958, allocations: 176.1 kB / 2.876 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/6.962, allocations: 1.915 MB / 2.878 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/6.962, allocations: 15.5 kB / 2.878 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/6.962, allocations: 3.875 kB / 2.878 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/6.962, allocations: 7.688 kB / 2.878 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/6.97, allocations: 3.83 MB / 2.882 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/6.97, allocations: 0 / 2.882 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/6.971, allocations: 324.6 kB / 2.882 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008779/6.972, allocations: 213.8 kB / 2.882 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/6.972, allocations: 30.2 kB / 2.883 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/6.976, allocations: 6.553 MB / 2.889 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/6.976, allocations: 0 / 2.889 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/6.98, allocations: 1.691 MB / 2.891 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/6.981, allocations: 0.6588 MB / 2.891 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/6.981, allocations: 3.938 kB / 2.891 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/6.983, allocations: 100.8 kB / 2.891 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/6.983, allocations: 112 kB / 2.891 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/6.983, allocations: 88.02 kB / 2.892 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002102/6.985, allocations: 1.757 MB / 2.893 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/6.985, allocations: 0 / 2.893 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002569/6.988, allocations: 0.7604 MB / 2.894 GB, free: 130.1 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.002864/6.991, allocations: 1.759 MB / 2.896 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002537/6.993, allocations: 1.717 MB / 2.897 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/6.993, allocations: 0.5625 kB / 2.897 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/6.995, allocations: 1.222 MB / 2.899 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/6.997, allocations: 424.6 kB / 2.899 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/7.003, allocations: 2.8 MB / 2.902 GB, free: 128 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/7.004, allocations: 1.549 MB / 2.903 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002584/7.007, allocations: 0.6636 MB / 2.904 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000795/7.008, allocations: 239.8 kB / 2.904 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/7.008, allocations: 0 / 2.904 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.05477/7.062, allocations: 36.78 MB / 2.94 GB, free: 125.4 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)