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.6911/0.6911, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009579/0.0009579, allocations: 188.7 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.266/1.266, 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.0008651/0.000865, allocations: 101 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001675, allocations: 272.4 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.294e-05, allocations: 0 / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3667, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.231/3.598, allocations: 1.713 GB / 2.477 GB, free: 64.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/3.598, allocations: 83.95 kB / 2.477 GB, free: 64.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/5.202, allocations: 408.7 MB / 2.876 GB, free: 137.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/5.202, allocations: 0 / 2.876 GB, free: 137.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002764/5.202, allocations: 165.2 kB / 2.877 GB, free: 137.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.01198/5.214, allocations: 6.332 MB / 2.883 GB, free: 135.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/5.214, allocations: 9.938 kB / 2.883 GB, free: 135.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001361/5.215, allocations: 1.062 MB / 2.884 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03857/5.254, allocations: 6.302 MB / 2.89 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/5.262, allocations: 3.671 MB / 2.894 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/5.262, allocations: 0.6035 MB / 2.894 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/5.264, allocations: 0.7874 MB / 2.895 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/5.28, allocations: 9.946 MB / 2.905 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/5.281, allocations: 0 / 2.905 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008813/5.281, allocations: 341.3 kB / 2.905 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/5.282, allocations: 203.5 kB / 2.905 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/5.299, allocations: 11.08 MB / 2.916 GB, free: 133 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05952/5.359, allocations: 28.78 MB / 2.944 GB, free: 118.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/5.372, allocations: 7.516 MB / 2.951 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007128/5.379, allocations: 3.972 MB / 2.955 GB, free: 107.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/5.38, allocations: 0.6763 MB / 2.956 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008226/5.389, allocations: 4.731 MB / 2.961 GB, free: 103.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.099e-05/5.389, allocations: 0 / 2.961 GB, free: 103.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.01646/5.405, allocations: 7.725 MB / 2.968 GB, free: 96.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/5.405, allocations: 469.7 kB / 2.969 GB, free: 95.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/5.41, allocations: 2.732 MB / 2.971 GB, free: 93.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001874/5.412, allocations: 141.7 kB / 2.971 GB, free: 93.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/5.414, allocations: 2.629 MB / 2.974 GB, free: 90.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003026/5.417, allocations: 2.235 MB / 2.976 GB, free: 88.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001613/5.419, allocations: 120 kB / 2.976 GB, free: 88.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003909/5.419, allocations: 0.5197 MB / 2.977 GB, free: 88.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006551/5.426, allocations: 3.118 MB / 2.98 GB, free: 85.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006932/5.433, allocations: 3.69 MB / 2.983 GB, free: 81.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006805/5.44, allocations: 3.302 MB / 2.987 GB, free: 78.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/5.44, allocations: 4 kB / 2.987 GB, free: 78.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02015/5.46, allocations: 8.087 MB / 2.995 GB, free: 70.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/5.46, allocations: 6.688 kB / 2.995 GB, free: 70.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/5.46, allocations: 4 kB / 2.995 GB, free: 70.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/5.461, allocations: 184.1 kB / 2.995 GB, free: 70.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/5.474, allocations: 1.992 MB / 2.997 GB, free: 69.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/5.477, allocations: 3.037 MB / 3 GB, free: 66.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/5.488, allocations: 1.122 MB / 3.001 GB, free: 65.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/5.49, allocations: 310.9 kB / 3.001 GB, free: 65.1 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.003981/5.494, allocations: 436 kB / 3.001 GB, free: 64.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002584/5.496, allocations: 0.49 MB / 3.002 GB, free: 64.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/5.525, allocations: 9.975 MB / 3.012 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.631e-05/5.525, allocations: 72 kB / 3.012 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/5.525, allocations: 0 / 3.012 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/5.525, allocations: 39.8 kB / 3.012 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03588/5.561, allocations: 18.47 MB / 3.03 GB, free: 35.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/5.561, allocations: 7.984 kB / 3.03 GB, free: 35.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01187/5.573, allocations: 1.865 MB / 3.032 GB, free: 33.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009953/5.574, allocations: 187.6 kB / 3.032 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001878/5.576, allocations: 219.8 kB / 3.032 GB, free: 33.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/5.579, allocations: 3.084 MB / 3.035 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/5.579, allocations: 0 / 3.035 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/5.598, allocations: 8.076 MB / 3.043 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004576/5.603, allocations: 1.897 MB / 3.045 GB, free: 20.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/5.605, allocations: 120 kB / 3.045 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009233/5.614, allocations: 0.7922 MB / 3.046 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/5.616, allocations: 422.4 kB / 3.046 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001192/5.617, allocations: 275.7 kB / 3.046 GB, free: 18.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004422/5.621, allocations: 2.316 MB / 3.049 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/5.621, allocations: 4 kB / 3.049 GB, free: 16.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007743/5.629, allocations: 2.052 MB / 3.051 GB, free: 14.06 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.65, allocations: 9.928 MB / 3.06 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0195/5.669, allocations: 8.097 MB / 3.068 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/5.669, allocations: 4 kB / 3.068 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/5.681, allocations: 4.493 MB / 3.073 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005298/5.687, allocations: 0.7264 MB / 3.073 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4193/6.106, allocations: 11.79 MB / 3.085 GB, free: 140 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/6.11, allocations: 3.44 MB / 3.088 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01263/6.122, allocations: 1.733 MB / 3.09 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006667/6.129, allocations: 3.303 MB / 3.093 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/6.129, allocations: 3.438 kB / 3.093 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1878/6.317, allocations: 146.9 MB / 3.237 GB, free: 83.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/6.317, allocations: 229.7 kB / 3.237 GB, free: 82.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.065/12.38, allocations: 7.938 kB / 3.237 GB, free: 82.93 MB / 0.7136 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)