Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",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.001818/0.001818, allocations: 175.1 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-master/package.mo): time 0.7483/0.7483, allocations: 133.4 MB / 146.7 MB, free: 10.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.715/1.715, allocations: 221.3 MB / 400.4 MB, free: 5.773 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.0009951/0.0009953, allocations: 91.64 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-05/5.041e-05, allocations: 6.078 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.79/4.985, allocations: 1.901 GB / 2.542 GB, free: 35.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/4.985, allocations: 88.16 kB / 2.542 GB, free: 35.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.652/6.638, allocations: 325.8 MB / 2.86 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.524e-06/6.638, allocations: 0 / 2.86 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003406/6.638, allocations: 51.25 kB / 2.86 GB, free: 154.5 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.006816/6.645, allocations: 2.123 MB / 2.862 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.51e-05/6.645, allocations: 9.938 kB / 2.862 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/6.646, allocations: 232.4 kB / 2.862 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/6.651, allocations: 0.5564 MB / 2.863 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/6.658, allocations: 2.184 MB / 2.865 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/6.658, allocations: 125.6 kB / 2.865 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006234/6.659, allocations: 162 kB / 2.865 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/6.664, allocations: 1.793 MB / 2.867 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/6.664, allocations: 3.172 kB / 2.867 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/6.664, allocations: 74.34 kB / 2.867 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.06e-05/6.664, allocations: 39.56 kB / 2.867 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/6.669, allocations: 1.901 MB / 2.869 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/6.682, allocations: 6.197 MB / 2.875 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/6.685, allocations: 1.879 MB / 2.877 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/6.686, allocations: 0.6696 MB / 2.878 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/6.687, allocations: 433.3 kB / 2.878 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/6.689, allocations: 0.8812 MB / 2.879 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 6.192e-06/6.689, allocations: 0 / 2.879 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004685/6.693, allocations: 1.618 MB / 2.88 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/6.694, allocations: 250.6 kB / 2.881 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/6.698, allocations: 2.426 MB / 2.883 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/6.699, allocations: 55.7 kB / 2.883 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009521/6.7, allocations: 0.8718 MB / 2.884 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/6.7, allocations: 459.7 kB / 2.884 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/6.7, allocations: 27.19 kB / 2.884 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000122/6.7, allocations: 351.4 kB / 2.885 GB, free: 149 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/6.701, allocations: 496.8 kB / 2.885 GB, free: 149 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000952/6.702, allocations: 0.7003 MB / 2.886 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/6.703, allocations: 0.5697 MB / 2.886 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/6.703, allocations: 3.844 kB / 2.886 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003338/6.706, allocations: 1.579 MB / 2.888 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/6.706, allocations: 7.438 kB / 2.888 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/6.706, allocations: 3.562 kB / 2.888 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/6.707, allocations: 209 kB / 2.888 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/6.709, allocations: 310.1 kB / 2.889 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/6.714, allocations: 6.815 MB / 2.895 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/6.715, allocations: 164.9 kB / 2.895 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/6.715, allocations: 67.09 kB / 2.895 GB, free: 142.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.0003902/6.716, allocations: 180.1 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006507/6.717, allocations: 185.8 kB / 2.896 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/6.721, allocations: 2.029 MB / 2.898 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/6.721, allocations: 15.56 kB / 2.898 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/6.721, allocations: 6.75 kB / 2.898 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/6.721, allocations: 9.312 kB / 2.898 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008952/6.73, allocations: 4.14 MB / 2.902 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/6.73, allocations: 0 / 2.902 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/6.732, allocations: 334.8 kB / 2.902 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009157/6.733, allocations: 213.9 kB / 2.902 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/6.733, allocations: 42.75 kB / 2.902 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/6.737, allocations: 6.817 MB / 2.909 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/6.737, allocations: 3.75 kB / 2.909 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/6.741, allocations: 1.783 MB / 2.911 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/6.743, allocations: 0.6701 MB / 2.911 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006029/6.743, allocations: 27.7 kB / 2.911 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/6.745, allocations: 142.4 kB / 2.912 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/6.745, allocations: 113.6 kB / 2.912 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/6.746, allocations: 82.69 kB / 2.912 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003235/6.749, allocations: 1.918 MB / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/6.749, allocations: 0 / 2.914 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003346/6.752, allocations: 0.8248 MB / 2.914 GB, free: 134.2 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.007576/6.76, allocations: 3.842 MB / 2.918 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002777/6.763, allocations: 1.794 MB / 2.92 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/6.763, allocations: 7 kB / 2.92 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/6.764, allocations: 1.296 MB / 2.921 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/6.767, allocations: 471.8 kB / 2.922 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00995/6.777, allocations: 3.471 MB / 2.925 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/6.779, allocations: 1.551 MB / 2.927 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002974/6.782, allocations: 0.6622 MB / 2.927 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/6.783, allocations: 0.9183 MB / 2.928 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.333e-06/6.783, allocations: 0 / 2.928 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/6.907, allocations: 70.22 MB / 2.997 GB, free: 97.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/6.907, allocations: 242.2 kB / 2.997 GB, free: 97.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.324/12.23, allocations: 3 kB / 2.997 GB, free: 97.52 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)