Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100",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.8037/0.8037, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.0009727/0.0009727, allocations: 175.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.336/1.336, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008963/0.0008963, allocations: 84.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.00172, allocations: 275 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.192e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4687, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.623, allocations: 1.712 GB / 2.469 GB, free: 39.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005335/4.624, allocations: 90.75 kB / 2.47 GB, free: 39.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.801/6.426, allocations: 361.9 MB / 2.823 GB, free: 148.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.416e-06/6.426, allocations: 0 / 2.823 GB, free: 148.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004302/6.426, allocations: 163.5 kB / 2.823 GB, free: 148.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.02182/6.448, allocations: 6.338 MB / 2.829 GB, free: 145.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/6.448, allocations: 10.47 kB / 2.829 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04128/6.489, allocations: 6.299 MB / 2.835 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/6.5, allocations: 3.673 MB / 2.839 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/6.501, allocations: 266.5 kB / 2.839 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00384/6.504, allocations: 471.3 kB / 2.84 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0295/6.534, allocations: 10.65 MB / 2.85 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/6.565, allocations: 8.782 MB / 2.859 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003312/6.565, allocations: 0 / 2.859 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003452/6.569, allocations: 3.719 kB / 2.859 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/6.569, allocations: 200.4 kB / 2.859 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.076/6.645, allocations: 27.34 MB / 2.886 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/6.661, allocations: 7.139 MB / 2.893 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008104/6.67, allocations: 3.772 MB / 2.896 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/6.671, allocations: 0.6799 MB / 2.897 GB, free: 135.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01184/6.683, allocations: 4.533 MB / 2.901 GB, free: 132.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.672e-05/6.683, allocations: 0 / 2.901 GB, free: 132.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.05031/6.734, allocations: 12.93 MB / 2.914 GB, free: 120.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/6.734, allocations: 458.1 kB / 2.914 GB, free: 120.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005318/6.739, allocations: 2.084 MB / 2.916 GB, free: 118.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002542/6.742, allocations: 36.52 kB / 2.917 GB, free: 118.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/6.745, allocations: 2.659 MB / 2.919 GB, free: 116.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004429/6.749, allocations: 2.147 MB / 2.921 GB, free: 114.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/6.751, allocations: 1.406 kB / 2.921 GB, free: 114.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005577/6.752, allocations: 0.5205 MB / 2.922 GB, free: 113.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006472/6.758, allocations: 3.008 MB / 2.925 GB, free: 110.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008378/6.767, allocations: 3.533 MB / 2.928 GB, free: 107.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03336/6.8, allocations: 8.766 MB / 2.937 GB, free: 99.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.936e-05/6.8, allocations: 3.281 kB / 2.937 GB, free: 99.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.04961/6.85, allocations: 13.24 MB / 2.95 GB, free: 88.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/6.85, allocations: 12.58 kB / 2.95 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/6.85, allocations: 5.5 kB / 2.95 GB, free: 88.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/6.851, allocations: 186.5 kB / 2.95 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01417/6.865, allocations: 1.992 MB / 2.952 GB, free: 86.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/6.868, allocations: 2.924 MB / 2.955 GB, free: 83.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/6.88, allocations: 0.9383 MB / 2.956 GB, free: 83.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002536/6.883, allocations: 306.6 kB / 2.956 GB, free: 82.84 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.002591/6.885, allocations: 195.9 kB / 2.956 GB, free: 82.72 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04554/6.931, allocations: 12.94 MB / 2.969 GB, free: 71.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002239/6.933, allocations: 442.5 kB / 2.969 GB, free: 71.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05547/6.989, allocations: 15.01 MB / 2.984 GB, free: 58.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/6.989, allocations: 75.75 kB / 2.984 GB, free: 58.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/6.989, allocations: 0 / 2.984 GB, free: 58.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000158/6.989, allocations: 34.97 kB / 2.984 GB, free: 58.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06041/7.049, allocations: 22.68 MB / 3.006 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/7.049, allocations: 0 / 3.006 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01223/7.062, allocations: 1.877 MB / 3.008 GB, free: 38.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/7.063, allocations: 185.5 kB / 3.008 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00205/7.065, allocations: 143.7 kB / 3.008 GB, free: 38.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/7.067, allocations: 2.97 MB / 3.011 GB, free: 35.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/7.067, allocations: 0 / 3.011 GB, free: 35.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04255/7.11, allocations: 13.24 MB / 3.024 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00433/7.114, allocations: 1.832 MB / 3.026 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/7.116, allocations: 4 kB / 3.026 GB, free: 20.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008899/7.125, allocations: 0.6827 MB / 3.026 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007203/7.126, allocations: 425.2 kB / 3.027 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006852/7.126, allocations: 267.7 kB / 3.027 GB, free: 18.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002723/7.129, allocations: 1.773 MB / 3.029 GB, free: 16.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/7.129, allocations: 0 / 3.029 GB, free: 16.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007107/7.136, allocations: 1.855 MB / 3.031 GB, free: 15.12 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.05077/7.187, allocations: 15.08 MB / 3.045 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02315/7.21, allocations: 7.775 MB / 3.053 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/7.21, allocations: 4 kB / 3.053 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/7.223, allocations: 4.333 MB / 3.057 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006568/7.229, allocations: 0.5849 MB / 3.058 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4705/7.7, allocations: 11.16 MB / 3.069 GB, free: 154.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003032/7.703, allocations: 3.429 MB / 3.072 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01613/7.719, allocations: 1.695 MB / 3.074 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/7.73, allocations: 3.312 MB / 3.077 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/7.731, allocations: 0 / 3.077 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2083/7.939, allocations: 131 MB / 3.205 GB, free: 102.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/7.939, allocations: 185.6 kB / 3.205 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/14.59, allocations: 0 / 3.205 GB, free: 102.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe 2>&1)