Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.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.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300",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.7075/0.7075, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009666/0.0009667, allocations: 178.4 kB / 187.3 MB, free: 11.88 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.281/1.281, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008676/0.0008676, allocations: 92.8 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001668, allocations: 277.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.15e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3844, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.272/3.657, allocations: 1.713 GB / 2.477 GB, free: 64.71 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/3.657, allocations: 87.94 kB / 2.477 GB, free: 64.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/5.245, allocations: 408.7 MB / 2.876 GB, free: 138.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/5.245, allocations: 0 / 2.876 GB, free: 138.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000545/5.245, allocations: 165.7 kB / 2.877 GB, free: 138.2 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01705/5.262, allocations: 6.326 MB / 2.883 GB, free: 135.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/5.262, allocations: 10.69 kB / 2.883 GB, free: 135.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003147/5.265, allocations: 1.059 MB / 2.884 GB, free: 135.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03879/5.304, allocations: 6.307 MB / 2.89 GB, free: 135.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00948/5.314, allocations: 3.673 MB / 2.894 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000688/5.315, allocations: 0.6124 MB / 2.894 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003677/5.318, allocations: 0.7842 MB / 2.895 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02694/5.345, allocations: 9.946 MB / 2.905 GB, free: 134 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002926/5.345, allocations: 3.75 kB / 2.905 GB, free: 134 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002631/5.348, allocations: 337.5 kB / 2.905 GB, free: 134 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/5.348, allocations: 201.3 kB / 2.905 GB, free: 134 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/5.371, allocations: 11.09 MB / 2.916 GB, free: 133.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06315/5.434, allocations: 28.78 MB / 2.944 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/5.449, allocations: 7.508 MB / 2.951 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007339/5.456, allocations: 3.973 MB / 2.955 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/5.458, allocations: 0.6789 MB / 2.956 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01042/5.468, allocations: 4.72 MB / 2.961 GB, free: 103.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.423e-05/5.468, allocations: 0 / 2.961 GB, free: 103.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.02307/5.491, allocations: 7.729 MB / 2.968 GB, free: 96.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/5.491, allocations: 466.5 kB / 2.969 GB, free: 96.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/5.497, allocations: 2.725 MB / 2.971 GB, free: 93.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001887/5.498, allocations: 145.7 kB / 2.971 GB, free: 93.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/5.5, allocations: 2.63 MB / 2.974 GB, free: 91.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003172/5.504, allocations: 2.242 MB / 2.976 GB, free: 89.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/5.505, allocations: 116 kB / 2.976 GB, free: 88.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003944/5.506, allocations: 0.5188 MB / 2.977 GB, free: 88.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006902/5.513, allocations: 3.123 MB / 2.98 GB, free: 85.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007634/5.52, allocations: 3.691 MB / 2.983 GB, free: 81.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007503/5.528, allocations: 3.303 MB / 2.987 GB, free: 78.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/5.528, allocations: 4 kB / 2.987 GB, free: 78.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02155/5.55, allocations: 8.079 MB / 2.995 GB, free: 71.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/5.55, allocations: 4 kB / 2.995 GB, free: 71.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/5.55, allocations: 4 kB / 2.995 GB, free: 71.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/5.551, allocations: 194.4 kB / 2.995 GB, free: 71.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/5.564, allocations: 1.986 MB / 2.997 GB, free: 69.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/5.567, allocations: 3.039 MB / 3 GB, free: 66.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/5.577, allocations: 1.121 MB / 3.001 GB, free: 65.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/5.58, allocations: 311.6 kB / 3.001 GB, free: 65.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003624/5.583, allocations: 434.1 kB / 3.001 GB, free: 64.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/5.586, allocations: 0.4896 MB / 3.002 GB, free: 64.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0265/5.612, allocations: 9.976 MB / 3.012 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/5.612, allocations: 75.98 kB / 3.012 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/5.612, allocations: 7.812 kB / 3.012 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/5.612, allocations: 31.88 kB / 3.012 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03366/5.646, allocations: 18.47 MB / 3.03 GB, free: 35.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/5.646, allocations: 0 / 3.03 GB, free: 35.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0115/5.658, allocations: 1.869 MB / 3.032 GB, free: 34.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009978/5.659, allocations: 190.3 kB / 3.032 GB, free: 33.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001426/5.66, allocations: 223.7 kB / 3.032 GB, free: 33.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/5.663, allocations: 3.08 MB / 3.035 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/5.663, allocations: 0 / 3.035 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/5.681, allocations: 8.076 MB / 3.043 GB, free: 22.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004001/5.685, allocations: 1.901 MB / 3.045 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/5.687, allocations: 116 kB / 3.045 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009042/5.696, allocations: 0.8 MB / 3.046 GB, free: 19.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009921/5.697, allocations: 420.2 kB / 3.046 GB, free: 18.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00109/5.698, allocations: 275.6 kB / 3.046 GB, free: 18.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004232/5.703, allocations: 2.32 MB / 3.049 GB, free: 16.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.703, allocations: 3.938 kB / 3.049 GB, free: 16.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006602/5.709, allocations: 2.046 MB / 3.051 GB, free: 14.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02076/5.73, allocations: 9.925 MB / 3.06 GB, free: 4.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0167/5.747, allocations: 8.097 MB / 3.068 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/5.747, allocations: 0 / 3.068 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/5.757, allocations: 4.494 MB / 3.073 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/5.762, allocations: 0.7274 MB / 3.073 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4064/6.169, allocations: 11.78 MB / 3.085 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/6.172, allocations: 3.44 MB / 3.088 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.012/6.184, allocations: 1.734 MB / 3.09 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006507/6.191, allocations: 3.3 MB / 3.093 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/6.191, allocations: 2.438 kB / 3.093 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/6.385, allocations: 146.9 MB / 3.237 GB, free: 82.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/6.385, allocations: 229.7 kB / 3.237 GB, free: 82.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.242/12.63, allocations: 4 kB / 3.237 GB, free: 82.31 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)