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-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: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01122/0.01122, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8066/0.8066, allocations: 135.2 MB / 151 MB, free: 13.8 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.617/1.617, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009809/0.000981, allocations: 104.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004464, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5833, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.131/5.715, allocations: 1.901 GB / 2.551 GB, free: 74.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/5.715, allocations: 88.56 kB / 2.551 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.213/6.928, allocations: 326 MB / 2.869 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.787e-06/6.928, allocations: 0 / 2.869 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003239/6.928, allocations: 59.92 kB / 2.869 GB, free: 15.84 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.008375/6.936, allocations: 2.584 MB / 2.872 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/6.936, allocations: 8.031 kB / 2.872 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/6.937, allocations: 244.5 kB / 2.872 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/6.942, allocations: 0.555 MB / 2.872 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/6.948, allocations: 2.18 MB / 2.874 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.523e-05/6.948, allocations: 123.3 kB / 2.875 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/6.948, allocations: 164 kB / 2.875 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/6.951, allocations: 1.857 MB / 2.877 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/6.952, allocations: 0 / 2.877 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/6.952, allocations: 68 kB / 2.877 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/6.952, allocations: 40 kB / 2.877 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/6.955, allocations: 2.003 MB / 2.879 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5852/7.54, allocations: 6.031 MB / 2.884 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00506/7.546, allocations: 1.952 MB / 2.886 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008103/7.546, allocations: 427.1 kB / 2.887 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002547/7.549, allocations: 0.9253 MB / 2.888 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.206e-06/7.549, allocations: 0 / 2.888 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.00849/7.557, allocations: 2.838 MB / 2.89 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/7.558, allocations: 247.7 kB / 2.891 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0067/7.564, allocations: 2.445 MB / 2.893 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/7.565, allocations: 57.42 kB / 2.893 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/7.566, allocations: 0.8611 MB / 2.894 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/7.567, allocations: 453.4 kB / 2.894 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/7.567, allocations: 25.69 kB / 2.894 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002335/7.567, allocations: 348.3 kB / 2.895 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/7.569, allocations: 0.5253 MB / 2.895 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/7.57, allocations: 0.7427 MB / 2.896 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/7.571, allocations: 0.6104 MB / 2.897 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/7.571, allocations: 0 / 2.897 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004445/7.576, allocations: 1.67 MB / 2.898 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/7.576, allocations: 3.75 kB / 2.898 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/7.576, allocations: 0 / 2.898 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/7.577, allocations: 224.1 kB / 2.898 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/7.579, allocations: 299.9 kB / 2.899 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/7.587, allocations: 6.843 MB / 2.905 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/7.59, allocations: 160.7 kB / 2.906 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006538/7.591, allocations: 63.89 kB / 2.906 GB, free: 142.6 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.003199/7.594, allocations: 473 kB / 2.906 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/7.595, allocations: 183 kB / 2.906 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/7.602, allocations: 2.127 MB / 2.908 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/7.602, allocations: 14.62 kB / 2.908 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/7.602, allocations: 7.188 kB / 2.908 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/7.602, allocations: 11.17 kB / 2.908 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/7.615, allocations: 4.22 MB / 2.912 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/7.615, allocations: 0 / 2.912 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/7.616, allocations: 322.7 kB / 2.913 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/7.618, allocations: 212.3 kB / 2.913 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/7.618, allocations: 41.22 kB / 2.913 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008157/7.626, allocations: 6.878 MB / 2.92 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/7.626, allocations: 3.625 kB / 2.92 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00611/7.632, allocations: 1.875 MB / 2.922 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/7.635, allocations: 0.6709 MB / 2.922 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007802/7.636, allocations: 28.69 kB / 2.922 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/7.638, allocations: 130.1 kB / 2.922 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/7.638, allocations: 109.4 kB / 2.922 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/7.638, allocations: 86.36 kB / 2.923 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003902/7.642, allocations: 1.928 MB / 2.924 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/7.642, allocations: 0 / 2.924 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004474/7.647, allocations: 0.8171 MB / 2.925 GB, free: 134.8 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.01006/7.657, allocations: 3.981 MB / 2.929 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004329/7.661, allocations: 1.886 MB / 2.931 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/7.661, allocations: 4.312 kB / 2.931 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/7.664, allocations: 1.336 MB / 2.932 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/7.667, allocations: 474.7 kB / 2.933 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/7.703, allocations: 15.15 MB / 2.948 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/7.705, allocations: 1.548 MB / 2.949 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00372/7.709, allocations: 0.655 MB / 2.95 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/7.711, allocations: 0.9191 MB / 2.951 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.538e-05/7.711, allocations: 0 / 2.951 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/7.853, allocations: 67.18 MB / 3.016 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/7.854, allocations: 236 kB / 3.016 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/12.67, allocations: 0 / 3.016 GB, free: 108.8 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)