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.8507/0.8507, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.0009386/0.0009386, allocations: 179.8 kB / 182.2 MB, free: 9.461 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.371/1.371, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0008443/0.0008443, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001646/0.001646, allocations: 283 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.69e-05, allocations: 0 / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3688, allocations: 82.76 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.77/4.139, allocations: 1.712 GB / 2.47 GB, free: 39.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/4.14, allocations: 86.02 kB / 2.47 GB, free: 39.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.897/6.037, allocations: 406.3 MB / 2.866 GB, free: 143.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.424e-06/6.037, allocations: 0 / 2.866 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006185/6.037, allocations: 169.8 kB / 2.867 GB, free: 143.9 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.0199/6.057, allocations: 6.329 MB / 2.873 GB, free: 141.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/6.057, allocations: 7.281 kB / 2.873 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0404/6.098, allocations: 6.306 MB / 2.879 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009845/6.108, allocations: 3.674 MB / 2.883 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/6.108, allocations: 271.6 kB / 2.883 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003279/6.111, allocations: 473.4 kB / 2.883 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02428/6.136, allocations: 10.65 MB / 2.894 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/6.161, allocations: 8.792 MB / 2.902 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/6.161, allocations: 0 / 2.902 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/6.164, allocations: 6.125 kB / 2.902 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/6.164, allocations: 200 kB / 2.902 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07099/6.235, allocations: 27.34 MB / 2.929 GB, free: 121.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/6.25, allocations: 7.132 MB / 2.936 GB, free: 114.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008095/6.258, allocations: 3.78 MB / 2.94 GB, free: 110.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/6.26, allocations: 0.6758 MB / 2.94 GB, free: 109.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01278/6.273, allocations: 4.527 MB / 2.945 GB, free: 105.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 2.059e-05/6.273, allocations: 0 / 2.945 GB, free: 105.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.05331/6.327, allocations: 12.93 MB / 2.958 GB, free: 92.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/6.327, allocations: 459 kB / 2.958 GB, free: 91.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006636/6.334, allocations: 2.08 MB / 2.96 GB, free: 89.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00242/6.336, allocations: 33.7 kB / 2.96 GB, free: 89.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002797/6.339, allocations: 2.664 MB / 2.963 GB, free: 87.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004283/6.343, allocations: 2.143 MB / 2.965 GB, free: 84.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/6.346, allocations: 0 / 2.965 GB, free: 84.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0008021/6.347, allocations: 0.5225 MB / 2.965 GB, free: 84.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008702/6.355, allocations: 3 MB / 2.968 GB, free: 81.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/6.363, allocations: 3.531 MB / 2.972 GB, free: 77.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03406/6.397, allocations: 8.777 MB / 2.98 GB, free: 68.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/6.398, allocations: 0 / 2.98 GB, free: 68.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05591/6.453, allocations: 13.23 MB / 2.993 GB, free: 55.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/6.454, allocations: 11.95 kB / 2.993 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/6.454, allocations: 8.734 kB / 2.993 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/6.455, allocations: 190.8 kB / 2.993 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01354/6.468, allocations: 1.987 MB / 2.995 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/6.471, allocations: 2.931 MB / 2.998 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/6.483, allocations: 0.9397 MB / 2.999 GB, free: 49.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/6.485, allocations: 311.6 kB / 2.999 GB, free: 49.07 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.004556/6.49, allocations: 191.5 kB / 3 GB, free: 48.95 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04855/6.539, allocations: 12.93 MB / 3.012 GB, free: 35.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003196/6.542, allocations: 442.5 kB / 3.013 GB, free: 35.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05531/6.597, allocations: 15.01 MB / 3.027 GB, free: 20.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.459e-05/6.597, allocations: 72 kB / 3.027 GB, free: 20.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-05/6.597, allocations: 0 / 3.027 GB, free: 20.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/6.597, allocations: 31.88 kB / 3.027 GB, free: 20.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07557/6.673, allocations: 22.69 MB / 3.049 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/6.673, allocations: 4 kB / 3.049 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01453/6.688, allocations: 1.872 MB / 3.051 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/6.689, allocations: 186.2 kB / 3.051 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002847/6.692, allocations: 143.7 kB / 3.052 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/6.696, allocations: 2.97 MB / 3.055 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/6.696, allocations: 0 / 3.055 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6344/7.33, allocations: 13.23 MB / 3.067 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005883/7.336, allocations: 1.836 MB / 3.069 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/7.339, allocations: 6.531 kB / 3.069 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01059/7.349, allocations: 0.6775 MB / 3.07 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/7.351, allocations: 421.1 kB / 3.07 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009585/7.352, allocations: 270.2 kB / 3.071 GB, free: 147.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003363/7.355, allocations: 1.773 MB / 3.072 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/7.355, allocations: 3.625 kB / 3.072 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008084/7.363, allocations: 1.848 MB / 3.074 GB, free: 146.9 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.05241/7.416, allocations: 15.09 MB / 3.089 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01604/7.432, allocations: 7.78 MB / 3.096 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/7.432, allocations: 3.25 kB / 3.096 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00874/7.44, allocations: 4.333 MB / 3.101 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/7.446, allocations: 0.5855 MB / 3.101 GB, free: 145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/7.483, allocations: 11.16 MB / 3.112 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00643/7.49, allocations: 3.428 MB / 3.115 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01758/7.508, allocations: 1.68 MB / 3.117 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/7.518, allocations: 3.314 MB / 3.12 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.224e-06/7.518, allocations: 0 / 3.12 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2251/7.743, allocations: 131 MB / 3.248 GB, free: 72.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/7.743, allocations: 193.6 kB / 3.248 GB, free: 72.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/14.37, allocations: 2.344 kB / 3.248 GB, free: 72.55 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)