Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8655/0.8655, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 183.4 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.77/1.77, allocations: 223.2 MB / 447.7 MB, free: 6.555 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.001062/0.001062, allocations: 99.69 kB / 0.5188 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002254, allocations: 273.4 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004835, allocations: 12 kB / 0.6929 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5043, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.289/5.793, allocations: 1.868 GB / 2.641 GB, free: 156.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/5.794, allocations: 89.05 kB / 2.641 GB, free: 156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.566/7.36, allocations: 399.6 MB / 3.032 GB, free: 26.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/7.36, allocations: 0 / 3.032 GB, free: 26.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001734/7.36, allocations: 43.92 kB / 3.032 GB, free: 26.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.00484/7.365, allocations: 1.684 MB / 3.033 GB, free: 24.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/7.365, allocations: 8.031 kB / 3.033 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005347/7.366, allocations: 169.1 kB / 3.033 GB, free: 24.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/7.369, allocations: 353.9 kB / 3.034 GB, free: 24.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/7.372, allocations: 1.13 MB / 3.035 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/7.373, allocations: 86.23 kB / 3.035 GB, free: 22.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/7.373, allocations: 108 kB / 3.035 GB, free: 22.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/7.376, allocations: 1.226 MB / 3.036 GB, free: 21.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/7.376, allocations: 0 / 3.036 GB, free: 21.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/7.376, allocations: 51.98 kB / 3.036 GB, free: 21.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/7.376, allocations: 24 kB / 3.036 GB, free: 21.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/7.378, allocations: 1.398 MB / 3.038 GB, free: 20.11 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/7.384, allocations: 3.721 MB / 3.041 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/7.386, allocations: 1.166 MB / 3.043 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/7.387, allocations: 417.4 kB / 3.043 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008738/7.388, allocations: 0.602 MB / 3.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.926e-06/7.388, allocations: 0 / 3.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003503/7.391, allocations: 1.521 MB / 3.045 GB, free: 12.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/7.391, allocations: 248.3 kB / 3.045 GB, free: 12.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009624/7.392, allocations: 0.7936 MB / 3.046 GB, free: 11.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/7.392, allocations: 49.7 kB / 3.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/7.393, allocations: 0.4963 MB / 3.047 GB, free: 10.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/7.393, allocations: 331.1 kB / 3.047 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/7.393, allocations: 16 kB / 3.047 GB, free: 10.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/7.393, allocations: 341.9 kB / 3.047 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/7.394, allocations: 341.8 kB / 3.048 GB, free: 9.707 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/7.394, allocations: 491.6 kB / 3.048 GB, free: 9.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/7.395, allocations: 414.8 kB / 3.048 GB, free: 8.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/7.395, allocations: 0 / 3.048 GB, free: 8.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002036/7.397, allocations: 1.052 MB / 3.049 GB, free: 7.715 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/7.397, allocations: 4 kB / 3.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/7.397, allocations: 4 kB / 3.049 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/7.398, allocations: 80.84 kB / 3.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/7.398, allocations: 207.7 kB / 3.05 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/7.4, allocations: 1.551 MB / 3.051 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/7.401, allocations: 131 kB / 3.051 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/7.401, allocations: 31.98 kB / 3.051 GB, free: 5.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005812/7.402, allocations: 321.6 kB / 3.052 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/7.402, allocations: 106.7 kB / 3.052 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/7.405, allocations: 1.433 MB / 3.053 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/7.405, allocations: 15.94 kB / 3.053 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/7.405, allocations: 7.953 kB / 3.053 GB, free: 3.668 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/7.405, allocations: 3.984 kB / 3.053 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004021/7.409, allocations: 2.686 MB / 3.056 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/7.409, allocations: 4 kB / 3.056 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/7.409, allocations: 199.7 kB / 3.056 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/7.41, allocations: 88.89 kB / 3.056 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/7.41, allocations: 27.98 kB / 3.056 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5457/7.956, allocations: 1.572 MB / 3.058 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/7.956, allocations: 2.188 kB / 3.058 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/7.96, allocations: 1.833 MB / 3.059 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/7.961, allocations: 363.4 kB / 3.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/7.962, allocations: 25.42 kB / 3.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/7.963, allocations: 84.84 kB / 3.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/7.963, allocations: 78.69 kB / 3.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/7.963, allocations: 44.78 kB / 3.06 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001296/7.964, allocations: 0.6468 MB / 3.061 GB, free: 141 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/7.964, allocations: 2.281 kB / 3.061 GB, free: 141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002374/7.967, allocations: 0.5794 MB / 3.061 GB, free: 141 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00855/7.975, allocations: 4.603 MB / 3.066 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002503/7.978, allocations: 0.9976 MB / 3.067 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/7.978, allocations: 3.812 kB / 3.067 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/7.979, allocations: 0.6211 MB / 3.067 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/7.981, allocations: 463.6 kB / 3.068 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/7.996, allocations: 7.665 MB / 3.075 GB, free: 136.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/7.998, allocations: 1.163 MB / 3.076 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001788/7.999, allocations: 375.6 kB / 3.077 GB, free: 135.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/8, allocations: 0.4899 MB / 3.077 GB, free: 135.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/8, allocations: 0 / 3.077 GB, free: 135.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09357/8.094, allocations: 52.43 MB / 3.128 GB, free: 134.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/8.094, allocations: 258.9 kB / 3.129 GB, free: 133.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.379/12.47, allocations: 0 / 3.129 GB, free: 133.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)