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.01276/0.01276, allocations: 169.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7891/0.7891, allocations: 135.2 MB / 151.1 MB, free: 13.77 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.562/1.562, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.00129/0.00129, allocations: 99.14 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5603, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.028/5.588, allocations: 1.901 GB / 2.55 GB, free: 74.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/5.589, allocations: 94.58 kB / 2.551 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.076/6.664, allocations: 326 MB / 2.869 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/6.664, allocations: 0 / 2.869 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001552/6.665, allocations: 51.94 kB / 2.869 GB, free: 16.05 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.005423/6.67, allocations: 2.58 MB / 2.871 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/6.67, allocations: 12.03 kB / 2.871 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/6.674, allocations: 0.555 MB / 2.872 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/6.679, allocations: 2.18 MB / 2.874 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/6.679, allocations: 127.3 kB / 2.874 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/6.679, allocations: 160 kB / 2.874 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/6.683, allocations: 1.853 MB / 2.876 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/6.683, allocations: 0 / 2.876 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/6.683, allocations: 72 kB / 2.876 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/6.683, allocations: 43.98 kB / 2.876 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/6.686, allocations: 1.995 MB / 2.878 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008683/6.694, allocations: 6.024 MB / 2.884 GB, free: 68 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4145/7.109, allocations: 1.956 MB / 2.886 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/7.11, allocations: 426.6 kB / 2.886 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/7.112, allocations: 0.9245 MB / 2.887 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.548e-06/7.112, allocations: 0 / 2.887 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.007841/7.12, allocations: 2.841 MB / 2.89 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/7.12, allocations: 248.9 kB / 2.89 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/7.124, allocations: 2.437 MB / 2.893 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/7.125, allocations: 60.92 kB / 2.893 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/7.125, allocations: 0.8589 MB / 2.894 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/7.126, allocations: 458.1 kB / 2.894 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/7.126, allocations: 20.5 kB / 2.894 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/7.126, allocations: 359.2 kB / 2.894 GB, free: 151 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/7.127, allocations: 0.5167 MB / 2.895 GB, free: 151 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/7.128, allocations: 0.7463 MB / 2.896 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/7.129, allocations: 0.6124 MB / 2.896 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/7.129, allocations: 3.25 kB / 2.896 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003708/7.133, allocations: 1.662 MB / 2.898 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/7.133, allocations: 7.375 kB / 2.898 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/7.133, allocations: 1.312 kB / 2.898 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/7.134, allocations: 221.2 kB / 2.898 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/7.136, allocations: 302.7 kB / 2.898 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/7.14, allocations: 6.843 MB / 2.905 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/7.142, allocations: 160.6 kB / 2.905 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/7.142, allocations: 67.91 kB / 2.905 GB, free: 144.2 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 (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.001268/7.144, allocations: 471.4 kB / 2.906 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/7.144, allocations: 190.5 kB / 2.906 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/7.149, allocations: 2.117 MB / 2.908 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/7.149, allocations: 18.84 kB / 2.908 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/7.149, allocations: 0 / 2.908 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/7.149, allocations: 10.44 kB / 2.908 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007877/7.157, allocations: 4.219 MB / 2.912 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/7.157, allocations: 1.688 kB / 2.912 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/7.159, allocations: 324.1 kB / 2.912 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009213/7.16, allocations: 212.9 kB / 2.913 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/7.16, allocations: 44 kB / 2.913 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/7.164, allocations: 6.88 MB / 2.919 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/7.164, allocations: 0 / 2.919 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/7.168, allocations: 1.889 MB / 2.921 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/7.17, allocations: 0.6637 MB / 2.922 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/7.17, allocations: 26.78 kB / 2.922 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/7.171, allocations: 130.4 kB / 2.922 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/7.172, allocations: 103.4 kB / 2.922 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/7.172, allocations: 84.14 kB / 2.922 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002441/7.174, allocations: 1.935 MB / 2.924 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/7.174, allocations: 2.438 kB / 2.924 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002656/7.177, allocations: 0.8215 MB / 2.925 GB, free: 136.4 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.003028/7.18, allocations: 1.699 MB / 2.927 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002971/7.183, allocations: 1.891 MB / 2.928 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/7.183, allocations: 0.5625 kB / 2.928 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/7.185, allocations: 1.342 MB / 2.93 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/7.187, allocations: 466.6 kB / 2.93 GB, free: 135 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/7.195, allocations: 4.422 MB / 2.935 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/7.196, allocations: 1.54 MB / 2.936 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002767/7.199, allocations: 0.6594 MB / 2.937 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/7.199, allocations: 243.8 kB / 2.937 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/7.199, allocations: 0 / 2.937 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.07067/7.27, allocations: 46.83 MB / 2.983 GB, free: 130.3 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)