Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.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.WD200,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200",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.8236/0.8236, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.0009927/0.0009925, allocations: 180.9 kB / 182.2 MB, free: 9.438 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.505/1.505, 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.0008191/0.000819, allocations: 99.61 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.0019/0.0019, allocations: 275.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.702e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4345, allocations: 82.77 MB / 0.7574 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.186/4.621, allocations: 1.712 GB / 2.47 GB, free: 38.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004934/4.622, allocations: 92.89 kB / 2.47 GB, free: 38.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.961/6.582, allocations: 406.3 MB / 2.866 GB, free: 143.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.208e-06/6.582, allocations: 0 / 2.866 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005455/6.583, allocations: 169.9 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.02412/6.607, allocations: 6.334 MB / 2.873 GB, free: 141.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/6.607, allocations: 7.562 kB / 2.873 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04225/6.649, allocations: 6.308 MB / 2.879 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/6.661, allocations: 3.673 MB / 2.883 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005572/6.662, allocations: 272.5 kB / 2.883 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004048/6.666, allocations: 466.7 kB / 2.883 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02864/6.695, allocations: 10.64 MB / 2.894 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/6.729, allocations: 8.793 MB / 2.902 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003573/6.729, allocations: 2.531 kB / 2.902 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/6.733, allocations: 4 kB / 2.902 GB, free: 133.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/6.733, allocations: 200 kB / 2.902 GB, free: 133.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07789/6.811, allocations: 27.33 MB / 2.929 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/6.825, allocations: 7.137 MB / 2.936 GB, free: 113.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007849/6.833, allocations: 3.776 MB / 2.94 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/6.834, allocations: 0.6687 MB / 2.94 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01264/6.847, allocations: 4.533 MB / 2.945 GB, free: 104.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 2.303e-05/6.847, allocations: 0 / 2.945 GB, free: 104.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.04906/6.896, allocations: 12.93 MB / 2.958 GB, free: 91.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/6.896, allocations: 467 kB / 2.958 GB, free: 91.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/6.901, allocations: 2.08 MB / 2.96 GB, free: 89.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002323/6.904, allocations: 29.7 kB / 2.96 GB, free: 89.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/6.906, allocations: 2.656 MB / 2.963 GB, free: 86.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003721/6.91, allocations: 2.147 MB / 2.965 GB, free: 84.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/6.912, allocations: 0 / 2.965 GB, free: 84.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004747/6.912, allocations: 0.5225 MB / 2.965 GB, free: 83.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006407/6.919, allocations: 3.011 MB / 2.968 GB, free: 80.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006755/6.925, allocations: 3.524 MB / 2.972 GB, free: 77.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03438/6.96, allocations: 8.778 MB / 2.98 GB, free: 68.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.469e-05/6.96, allocations: 4 kB / 2.98 GB, free: 68.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05062/7.01, allocations: 13.23 MB / 2.993 GB, free: 54.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/7.011, allocations: 12.58 kB / 2.993 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/7.011, allocations: 4 kB / 2.993 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/7.012, allocations: 185.6 kB / 2.993 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/7.026, allocations: 1.993 MB / 2.995 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/7.03, allocations: 2.928 MB / 2.998 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/7.042, allocations: 0.9365 MB / 2.999 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003465/7.045, allocations: 311.6 kB / 2.999 GB, free: 48.42 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.005264/7.051, allocations: 196.6 kB / 2.999 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0503/7.101, allocations: 12.94 MB / 3.012 GB, free: 35.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/7.104, allocations: 446.5 kB / 3.013 GB, free: 34.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0594/7.164, allocations: 15.01 MB / 3.027 GB, free: 19.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/7.164, allocations: 68 kB / 3.027 GB, free: 19.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/7.164, allocations: 0 / 3.027 GB, free: 19.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002283/7.164, allocations: 42.39 kB / 3.027 GB, free: 19.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06852/7.233, allocations: 22.68 MB / 3.049 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/7.233, allocations: 0 / 3.049 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01396/7.247, allocations: 1.873 MB / 3.051 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/7.248, allocations: 189.1 kB / 3.051 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00251/7.25, allocations: 143.7 kB / 3.052 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/7.254, allocations: 2.966 MB / 3.055 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/7.254, allocations: 4.062 kB / 3.055 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5547/7.809, allocations: 13.24 MB / 3.067 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005672/7.815, allocations: 1.834 MB / 3.069 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002782/7.817, allocations: 9.594 kB / 3.069 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01095/7.828, allocations: 0.6771 MB / 3.07 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/7.83, allocations: 417.8 kB / 3.07 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008986/7.83, allocations: 272.2 kB / 3.071 GB, free: 147 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003077/7.834, allocations: 1.776 MB / 3.072 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/7.834, allocations: 0 / 3.072 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00693/7.84, allocations: 1.848 MB / 3.074 GB, free: 146.6 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.04809/7.889, allocations: 15.08 MB / 3.089 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01573/7.904, allocations: 7.779 MB / 3.096 GB, free: 145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/7.904, allocations: 3.625 kB / 3.096 GB, free: 145 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008773/7.913, allocations: 4.33 MB / 3.101 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00552/7.919, allocations: 0.5883 MB / 3.101 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/7.955, allocations: 11.17 MB / 3.112 GB, free: 142.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005737/7.961, allocations: 3.43 MB / 3.115 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01781/7.979, allocations: 1.685 MB / 3.117 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0103/7.989, allocations: 3.31 MB / 3.12 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.643e-06/7.989, allocations: 0 / 3.12 GB, free: 141.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2235/8.213, allocations: 131 MB / 3.248 GB, free: 72.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/8.213, allocations: 197.5 kB / 3.248 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/14.93, allocations: 0 / 3.248 GB, free: 71.98 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe 2>&1)