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.001251/0.001251, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7167/0.7167, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.726/1.726, allocations: 221.3 MB / 396.8 MB, free: 9.164 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.001093/0.001093, allocations: 93.73 kB / 478.9 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.449e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1982, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.387/4.585, allocations: 1.901 GB / 2.535 GB, free: 55.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/4.585, allocations: 91.2 kB / 2.536 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9732/5.559, allocations: 325.5 MB / 2.853 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/5.559, allocations: 0 / 2.853 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001382/5.559, allocations: 52 kB / 2.853 GB, free: 5.031 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.003363/5.562, allocations: 2.104 MB / 2.855 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/5.562, allocations: 8.031 kB / 2.855 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/5.565, allocations: 0.5472 MB / 2.856 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/5.569, allocations: 2.169 MB / 2.858 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4158/5.984, allocations: 121.5 kB / 2.858 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006532/5.985, allocations: 165.9 kB / 2.858 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/5.989, allocations: 1.792 MB / 2.86 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/5.989, allocations: 1 kB / 2.86 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/5.989, allocations: 68.69 kB / 2.86 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/5.989, allocations: 44.17 kB / 2.86 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/5.993, allocations: 1.904 MB / 2.862 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/6.003, allocations: 6.016 MB / 2.868 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/6.005, allocations: 1.86 MB / 2.87 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/6.006, allocations: 0.6767 MB / 2.87 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/6.007, allocations: 423.4 kB / 2.871 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/6.008, allocations: 0.8877 MB / 2.872 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 2.895e-06/6.008, allocations: 3.219 kB / 2.872 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003679/6.012, allocations: 1.613 MB / 2.873 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/6.012, allocations: 250.4 kB / 2.874 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/6.016, allocations: 2.411 MB / 2.876 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003998/6.016, allocations: 53.27 kB / 2.876 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007808/6.017, allocations: 0.8671 MB / 2.877 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/6.017, allocations: 457.7 kB / 2.877 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/6.017, allocations: 22.44 kB / 2.877 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/6.018, allocations: 350.1 kB / 2.878 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/6.018, allocations: 494.8 kB / 2.878 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/6.019, allocations: 0.7006 MB / 2.879 GB, free: 150 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/6.02, allocations: 0.5629 MB / 2.879 GB, free: 150 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/6.02, allocations: 3.656 kB / 2.879 GB, free: 150 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003529/6.024, allocations: 1.58 MB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/6.024, allocations: 5.797 kB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/6.024, allocations: 1.031 kB / 2.881 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/6.025, allocations: 215.6 kB / 2.881 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/6.027, allocations: 302.2 kB / 2.881 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/6.031, allocations: 6.799 MB / 2.888 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/6.033, allocations: 157.7 kB / 2.888 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/6.033, allocations: 67.17 kB / 2.888 GB, free: 143.4 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.0003874/6.034, allocations: 182.7 kB / 2.888 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/6.034, allocations: 191.5 kB / 2.889 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/6.039, allocations: 2.033 MB / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/6.039, allocations: 13.81 kB / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/6.039, allocations: 2.344 kB / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/6.039, allocations: 6.938 kB / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007932/6.047, allocations: 4.139 MB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/6.047, allocations: 3.25 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/6.048, allocations: 318.5 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008898/6.049, allocations: 224 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/6.049, allocations: 44.41 kB / 2.895 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/6.054, allocations: 6.815 MB / 2.902 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/6.054, allocations: 0 / 2.902 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/6.058, allocations: 1.797 MB / 2.904 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/6.06, allocations: 0.6612 MB / 2.904 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/6.06, allocations: 31.31 kB / 2.904 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/6.061, allocations: 131 kB / 2.904 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/6.062, allocations: 106.9 kB / 2.904 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/6.062, allocations: 83.58 kB / 2.905 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002884/6.065, allocations: 1.907 MB / 2.906 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.065, allocations: 0 / 2.906 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003184/6.068, allocations: 0.8245 MB / 2.907 GB, free: 135.6 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.003025/6.071, allocations: 1.657 MB / 2.909 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002694/6.074, allocations: 1.802 MB / 2.911 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/6.074, allocations: 0.5625 kB / 2.911 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/6.075, allocations: 1.284 MB / 2.912 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/6.078, allocations: 474.9 kB / 2.912 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/6.084, allocations: 2.876 MB / 2.915 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/6.085, allocations: 1.543 MB / 2.917 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002589/6.087, allocations: 0.6622 MB / 2.917 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008808/6.088, allocations: 240.8 kB / 2.918 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/6.088, allocations: 0 / 2.918 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.06842/6.157, allocations: 49.81 MB / 2.966 GB, free: 130.6 MB / 0.6823 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)