Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400",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.762/0.762, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.00115/0.00115, allocations: 171.1 kB / 191.5 MB, free: 5.777 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.342/1.342, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0008566/0.0008566, allocations: 92.2 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001921, allocations: 262.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 10.09 kB / 0.6929 GB, free: 59.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.505/3.645, allocations: 1.713 GB / 2.487 GB, free: 257.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/3.645, allocations: 89.45 kB / 2.487 GB, free: 257.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/4.871, allocations: 409.3 MB / 2.886 GB, free: 112.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/4.871, allocations: 0 / 2.886 GB, free: 112.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003517/4.871, allocations: 166.1 kB / 2.887 GB, free: 112.1 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.01721/4.889, allocations: 6.829 MB / 2.893 GB, free: 105.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/4.889, allocations: 12.03 kB / 2.893 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004253/4.893, allocations: 1.061 MB / 2.894 GB, free: 105.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04127/4.934, allocations: 6.306 MB / 2.901 GB, free: 99.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009191/4.943, allocations: 3.693 MB / 2.904 GB, free: 97.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006254/4.944, allocations: 0.6053 MB / 2.905 GB, free: 96.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003591/4.948, allocations: 0.7852 MB / 2.905 GB, free: 96.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/4.986, allocations: 11.98 MB / 2.917 GB, free: 87.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003075/4.987, allocations: 4.469 kB / 2.917 GB, free: 87.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002857/4.99, allocations: 342.6 kB / 2.918 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/4.99, allocations: 204 kB / 2.918 GB, free: 87.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04617/5.036, allocations: 15.08 MB / 2.932 GB, free: 74.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07338/5.109, allocations: 28.8 MB / 2.961 GB, free: 46.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03088/5.14, allocations: 9.811 MB / 2.97 GB, free: 36.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/5.142, allocations: 0.6741 MB / 2.971 GB, free: 36.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02032/5.162, allocations: 5.942 MB / 2.977 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.782e-05/5.162, allocations: 4 kB / 2.977 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.05434/5.217, allocations: 14.91 MB / 2.991 GB, free: 15.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/5.217, allocations: 463 kB / 2.992 GB, free: 14.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/5.222, allocations: 2.768 MB / 2.994 GB, free: 11.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00216/5.225, allocations: 141.7 kB / 2.994 GB, free: 11.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/5.227, allocations: 2.624 MB / 2.997 GB, free: 9.145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003288/5.23, allocations: 2.242 MB / 2.999 GB, free: 6.922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/5.232, allocations: 116 kB / 2.999 GB, free: 6.809 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004255/5.232, allocations: 0.5261 MB / 3 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01492/5.247, allocations: 4.345 MB / 3.004 GB, free: 1.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6597/5.907, allocations: 4.915 MB / 3.009 GB, free: 127.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/5.923, allocations: 4.522 MB / 3.013 GB, free: 127.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.569e-05/5.923, allocations: 5.906 kB / 3.013 GB, free: 127.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03863/5.962, allocations: 10.54 MB / 3.024 GB, free: 127.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/5.962, allocations: 7.469 kB / 3.024 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/5.962, allocations: 4.938 kB / 3.024 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/5.963, allocations: 189.5 kB / 3.024 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/5.978, allocations: 1.995 MB / 3.026 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/5.982, allocations: 3.076 MB / 3.029 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/5.993, allocations: 1.116 MB / 3.03 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00217/5.996, allocations: 309.9 kB / 3.03 GB, free: 124.7 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 () * Number of clocked 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.006185/6.002, allocations: 1.267 MB / 3.031 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002394/6.004, allocations: 0.4944 MB / 3.032 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03952/6.044, allocations: 12.44 MB / 3.044 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/6.044, allocations: 73.84 kB / 3.044 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/6.044, allocations: 6.953 kB / 3.044 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/6.044, allocations: 35.48 kB / 3.044 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05487/6.099, allocations: 20.89 MB / 3.065 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/6.099, allocations: 0 / 3.065 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01316/6.112, allocations: 1.88 MB / 3.066 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/6.113, allocations: 180.6 kB / 3.067 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002111/6.115, allocations: 224.2 kB / 3.067 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/6.118, allocations: 3.118 MB / 3.07 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.118, allocations: 0 / 3.07 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0377/6.156, allocations: 10.54 MB / 3.08 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005771/6.162, allocations: 1.898 MB / 3.082 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003039/6.165, allocations: 119.4 kB / 3.082 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01095/6.176, allocations: 0.8006 MB / 3.083 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00183/6.178, allocations: 419.8 kB / 3.083 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002149/6.18, allocations: 272.5 kB / 3.083 GB, free: 116.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004791/6.185, allocations: 2.365 MB / 3.086 GB, free: 115.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/6.185, allocations: 0 / 3.086 GB, free: 115.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009022/6.194, allocations: 2.038 MB / 3.088 GB, free: 114.9 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) * Number of clocked states: 0 () * 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.04558/6.239, allocations: 12.43 MB / 3.1 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03469/6.274, allocations: 10.56 MB / 3.11 GB, free: 106.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/6.274, allocations: 3.938 kB / 3.11 GB, free: 106.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01824/6.292, allocations: 5.722 MB / 3.116 GB, free: 104.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/6.298, allocations: 0.7269 MB / 3.117 GB, free: 104.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1265/6.425, allocations: 50.67 MB / 3.166 GB, free: 62.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004695/6.43, allocations: 3.437 MB / 3.169 GB, free: 59.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01522/6.445, allocations: 1.737 MB / 3.171 GB, free: 58.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008729/6.454, allocations: 3.309 MB / 3.174 GB, free: 55.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/6.454, allocations: 0 / 3.174 GB, free: 55.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.508/6.962, allocations: 143.3 MB / 3.314 GB, free: 148.3 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/6.962, allocations: 265.6 kB / 3.315 GB, free: 148 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/13.48, allocations: 3.828 kB / 3.315 GB, free: 148 MB / 0.7293 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)