Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500",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.6954/0.6954, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.00093/0.0009298, allocations: 180.3 kB / 187.3 MB, free: 11.89 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.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008912/0.0008911, allocations: 92.06 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 272.5 kB / 0.5939 GB, free: 8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.017e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3478, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.257/3.605, allocations: 1.713 GB / 2.477 GB, free: 30.32 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/3.605, allocations: 88.95 kB / 2.477 GB, free: 30.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.622/5.227, allocations: 408.7 MB / 2.876 GB, free: 142 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/5.227, allocations: 0 / 2.876 GB, free: 142 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005078/5.228, allocations: 161.7 kB / 2.877 GB, free: 142 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.01713/5.245, allocations: 6.33 MB / 2.883 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/5.245, allocations: 10.97 kB / 2.883 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00368/5.249, allocations: 1.06 MB / 2.884 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04087/5.29, allocations: 6.305 MB / 2.89 GB, free: 138.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008737/5.298, allocations: 3.673 MB / 2.894 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000529/5.299, allocations: 0.6047 MB / 2.894 GB, free: 136.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/5.302, allocations: 0.786 MB / 2.895 GB, free: 135.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02497/5.327, allocations: 9.946 MB / 2.905 GB, free: 129.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/5.327, allocations: 2.219 kB / 2.905 GB, free: 129.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001637/5.329, allocations: 340.5 kB / 2.905 GB, free: 129.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/5.329, allocations: 200 kB / 2.905 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/5.352, allocations: 11.09 MB / 2.916 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06678/5.419, allocations: 28.79 MB / 2.944 GB, free: 98.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/5.433, allocations: 7.513 MB / 2.951 GB, free: 91.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006724/5.439, allocations: 3.976 MB / 2.955 GB, free: 87.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/5.441, allocations: 0.6786 MB / 2.956 GB, free: 86.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008741/5.45, allocations: 4.719 MB / 2.961 GB, free: 81.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.209e-05/5.45, allocations: 3.25 kB / 2.961 GB, free: 81.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.01825/5.468, allocations: 7.725 MB / 2.968 GB, free: 74.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/5.468, allocations: 462.9 kB / 2.969 GB, free: 73.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/5.473, allocations: 2.728 MB / 2.971 GB, free: 70.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001868/5.475, allocations: 141.7 kB / 2.971 GB, free: 70.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/5.477, allocations: 2.634 MB / 2.974 GB, free: 68.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003618/5.481, allocations: 2.231 MB / 2.976 GB, free: 65.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/5.483, allocations: 120 kB / 2.976 GB, free: 65.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003824/5.483, allocations: 0.5187 MB / 2.977 GB, free: 65.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/5.489, allocations: 3.124 MB / 2.98 GB, free: 62.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006723/5.496, allocations: 3.688 MB / 2.983 GB, free: 58.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/5.503, allocations: 3.306 MB / 2.987 GB, free: 54.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/5.503, allocations: 0 / 2.987 GB, free: 54.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02066/5.524, allocations: 8.08 MB / 2.995 GB, free: 46.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/5.524, allocations: 5.25 kB / 2.995 GB, free: 46.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/5.524, allocations: 8 kB / 2.995 GB, free: 46.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/5.525, allocations: 187.7 kB / 2.995 GB, free: 46.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/5.538, allocations: 1.992 MB / 2.997 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/5.541, allocations: 3.05 MB / 3 GB, free: 41.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/5.553, allocations: 1.118 MB / 3.001 GB, free: 40.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002612/5.555, allocations: 311.6 kB / 3.001 GB, free: 40.03 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.00456/5.56, allocations: 431.5 kB / 3.001 GB, free: 39.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003148/5.563, allocations: 497.7 kB / 3.002 GB, free: 39.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02899/5.592, allocations: 9.973 MB / 3.012 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/5.592, allocations: 76 kB / 3.012 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/5.592, allocations: 0 / 3.012 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/5.592, allocations: 35.81 kB / 3.012 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03295/5.625, allocations: 18.47 MB / 3.03 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/5.625, allocations: 0 / 3.03 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0117/5.637, allocations: 1.873 MB / 3.032 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/5.638, allocations: 184.7 kB / 3.032 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/5.639, allocations: 223.7 kB / 3.032 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/5.642, allocations: 3.089 MB / 3.035 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/5.642, allocations: 0 / 3.035 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0186/5.661, allocations: 8.067 MB / 3.043 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005337/5.666, allocations: 1.901 MB / 3.045 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002684/5.669, allocations: 116 kB / 3.045 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009773/5.679, allocations: 0.796 MB / 3.046 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001195/5.68, allocations: 428.2 kB / 3.046 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001221/5.681, allocations: 271.7 kB / 3.046 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004718/5.686, allocations: 2.316 MB / 3.049 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.893e-06/5.686, allocations: 0 / 3.049 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007012/5.693, allocations: 2.046 MB / 3.051 GB, free: 4.977 MB / 0.7136 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.4062/6.099, allocations: 9.922 MB / 3.06 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01702/6.116, allocations: 8.101 MB / 3.068 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/6.116, allocations: 3.656 kB / 3.068 GB, free: 141.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.007573/6.124, allocations: 4.491 MB / 3.073 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/6.128, allocations: 0.7327 MB / 3.073 GB, free: 141.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/6.151, allocations: 11.79 MB / 3.085 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/6.154, allocations: 3.438 MB / 3.088 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01125/6.165, allocations: 1.729 MB / 3.09 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006152/6.171, allocations: 3.303 MB / 3.093 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/6.171, allocations: 5.531 kB / 3.093 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1969/6.368, allocations: 146.9 MB / 3.237 GB, free: 68.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/6.369, allocations: 233.6 kB / 3.237 GB, free: 68.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.126/12.49, allocations: 0 / 3.237 GB, free: 68.58 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)