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.772/0.772, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001013/0.001013, allocations: 181.1 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.342/1.342, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0008585/0.0008585, allocations: 88.34 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 266.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 20.73 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.215/3.364, allocations: 1.713 GB / 2.487 GB, free: 40.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/3.365, allocations: 96.31 kB / 2.487 GB, free: 40.17 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.538/4.902, allocations: 409.3 MB / 2.887 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/4.902, allocations: 0 / 2.887 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004306/4.903, allocations: 166.7 kB / 2.887 GB, free: 143.6 MB / 0.7136 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.02089/4.923, allocations: 6.827 MB / 2.893 GB, free: 140.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/4.924, allocations: 10.81 kB / 2.893 GB, free: 140.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003859/4.927, allocations: 1.064 MB / 2.894 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04214/4.97, allocations: 6.312 MB / 2.901 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009501/4.979, allocations: 3.688 MB / 2.904 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/4.98, allocations: 0.61 MB / 2.905 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/4.983, allocations: 0.785 MB / 2.906 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03964/5.022, allocations: 11.98 MB / 2.917 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/5.023, allocations: 3.781 kB / 2.917 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/5.026, allocations: 342.6 kB / 2.918 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/5.026, allocations: 199 kB / 2.918 GB, free: 139 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04849/5.075, allocations: 15.08 MB / 2.932 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07403/5.149, allocations: 28.79 MB / 2.961 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/5.18, allocations: 9.821 MB / 2.97 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/5.182, allocations: 0.6813 MB / 2.971 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01937/5.201, allocations: 5.935 MB / 2.977 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=689): time 1.341e-05/5.201, allocations: 2.406 kB / 2.977 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=689): time 0.05596/5.257, allocations: 14.9 MB / 2.991 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/5.257, allocations: 463 kB / 2.992 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/5.262, allocations: 2.772 MB / 2.994 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00201/5.264, allocations: 137.7 kB / 2.994 GB, free: 97.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/5.267, allocations: 2.633 MB / 2.997 GB, free: 95.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003454/5.27, allocations: 2.238 MB / 2.999 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/5.272, allocations: 120 kB / 2.999 GB, free: 92.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000446/5.272, allocations: 0.5265 MB / 3 GB, free: 92.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01472/5.287, allocations: 4.347 MB / 3.004 GB, free: 87.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/5.303, allocations: 4.914 MB / 3.009 GB, free: 82.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/5.318, allocations: 4.521 MB / 3.013 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/5.318, allocations: 1.875 kB / 3.013 GB, free: 78.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0389/5.357, allocations: 10.54 MB / 3.024 GB, free: 67.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/5.357, allocations: 8.781 kB / 3.024 GB, free: 67.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/5.357, allocations: 4 kB / 3.024 GB, free: 67.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/5.359, allocations: 193.7 kB / 3.024 GB, free: 67.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/5.373, allocations: 1.987 MB / 3.026 GB, free: 65.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/5.377, allocations: 3.074 MB / 3.029 GB, free: 62.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/5.389, allocations: 1.12 MB / 3.03 GB, free: 61.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00238/5.391, allocations: 315 kB / 3.03 GB, free: 60.89 MB / 0.7136 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.00679/5.398, allocations: 1.267 MB / 3.031 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002763/5.401, allocations: 497.7 kB / 3.032 GB, free: 59.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04648/5.447, allocations: 12.44 MB / 3.044 GB, free: 46.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.616e-05/5.447, allocations: 72 kB / 3.044 GB, free: 46.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/5.447, allocations: 0 / 3.044 GB, free: 46.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002141/5.448, allocations: 39.86 kB / 3.044 GB, free: 46.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05546/5.503, allocations: 20.89 MB / 3.065 GB, free: 25.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/5.503, allocations: 0 / 3.065 GB, free: 25.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01318/5.516, allocations: 1.879 MB / 3.066 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/5.518, allocations: 182.5 kB / 3.067 GB, free: 23.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/5.52, allocations: 224.5 kB / 3.067 GB, free: 23.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/5.523, allocations: 3.116 MB / 3.07 GB, free: 20.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/5.523, allocations: 4.031 kB / 3.07 GB, free: 20.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03571/5.558, allocations: 10.53 MB / 3.08 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004935/5.563, allocations: 1.901 MB / 3.082 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002559/5.566, allocations: 120 kB / 3.082 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0102/5.576, allocations: 0.7989 MB / 3.083 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/5.578, allocations: 413.5 kB / 3.083 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00164/5.579, allocations: 275.7 kB / 3.083 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004395/5.584, allocations: 2.366 MB / 3.086 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/5.584, allocations: 0 / 3.086 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007842/5.591, allocations: 2.039 MB / 3.088 GB, free: 1.574 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) * 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.3962/5.988, allocations: 12.44 MB / 3.1 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.03601/6.024, allocations: 10.55 MB / 3.11 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/6.024, allocations: 0 / 3.11 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01729/6.041, allocations: 5.723 MB / 3.116 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/6.046, allocations: 0.7287 MB / 3.117 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/6.158, allocations: 50.68 MB / 3.166 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004851/6.163, allocations: 3.438 MB / 3.169 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01483/6.178, allocations: 1.73 MB / 3.171 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008638/6.186, allocations: 3.306 MB / 3.174 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/6.186, allocations: 0 / 3.174 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/6.375, allocations: 143.3 MB / 3.314 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/6.376, allocations: 270.1 kB / 3.315 GB, free: 24.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/12.97, allocations: 4 kB / 3.315 GB, free: 24.28 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)