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.7563/0.7563, 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.0009961/0.0009962, allocations: 176.5 kB / 182.2 MB, free: 9.457 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.389/1.389, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001024/0.001025, allocations: 98.06 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001767, allocations: 271.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.804e-05, allocations: 0 / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3709, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.3, allocations: 1.712 GB / 2.47 GB, free: 72.97 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/4.301, allocations: 91.94 kB / 2.47 GB, free: 72.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.821/6.121, allocations: 406.3 MB / 2.866 GB, free: 140.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/6.121, allocations: 2.812 kB / 2.866 GB, free: 140.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007157/6.122, allocations: 168.5 kB / 2.867 GB, free: 140.5 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.0229/6.145, allocations: 6.333 MB / 2.873 GB, free: 138.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/6.145, allocations: 10.59 kB / 2.873 GB, free: 138.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04287/6.188, allocations: 6.299 MB / 2.879 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/6.199, allocations: 3.667 MB / 2.883 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/6.2, allocations: 272.2 kB / 2.883 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004256/6.204, allocations: 473.2 kB / 2.883 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03333/6.238, allocations: 10.65 MB / 2.894 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/6.274, allocations: 8.784 MB / 2.902 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004759/6.274, allocations: 0 / 2.902 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004738/6.279, allocations: 3.5 kB / 2.902 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/6.279, allocations: 201.6 kB / 2.902 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09649/6.376, allocations: 27.34 MB / 2.929 GB, free: 133.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01578/6.392, allocations: 7.124 MB / 2.936 GB, free: 128.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00786/6.4, allocations: 3.779 MB / 2.94 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/6.402, allocations: 0.6832 MB / 2.94 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01153/6.413, allocations: 4.528 MB / 2.945 GB, free: 120.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=689): time 1.702e-05/6.413, allocations: 0 / 2.945 GB, free: 120.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=689): time 0.05247/6.466, allocations: 12.92 MB / 2.958 GB, free: 109.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/6.466, allocations: 469.1 kB / 2.958 GB, free: 108.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005466/6.471, allocations: 2.082 MB / 2.96 GB, free: 106.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002353/6.474, allocations: 29.7 kB / 2.96 GB, free: 106.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/6.476, allocations: 2.663 MB / 2.963 GB, free: 104.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003976/6.48, allocations: 2.139 MB / 2.965 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/6.483, allocations: 4 kB / 2.965 GB, free: 102.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005524/6.483, allocations: 0.5238 MB / 2.965 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007062/6.49, allocations: 3.003 MB / 2.968 GB, free: 99.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007631/6.498, allocations: 3.53 MB / 2.972 GB, free: 95.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03396/6.532, allocations: 8.778 MB / 2.98 GB, free: 88.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.691e-05/6.532, allocations: 4 kB / 2.98 GB, free: 88.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05526/6.587, allocations: 13.23 MB / 2.993 GB, free: 76.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/6.587, allocations: 12.77 kB / 2.993 GB, free: 76.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/6.587, allocations: 8 kB / 2.993 GB, free: 76.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/6.589, allocations: 180 kB / 2.993 GB, free: 76.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01509/6.604, allocations: 1.993 MB / 2.995 GB, free: 75.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/6.607, allocations: 2.92 MB / 2.998 GB, free: 72.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01403/6.622, allocations: 0.9406 MB / 2.999 GB, free: 71.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004014/6.626, allocations: 309.2 kB / 2.999 GB, free: 71.28 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.006825/6.632, allocations: 197 kB / 2.999 GB, free: 71.15 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05287/6.685, allocations: 12.94 MB / 3.012 GB, free: 59.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004633/6.69, allocations: 446.5 kB / 3.013 GB, free: 59.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06705/6.757, allocations: 15.01 MB / 3.027 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/6.757, allocations: 72 kB / 3.027 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/6.757, allocations: 0 / 3.027 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003623/6.758, allocations: 35.86 kB / 3.027 GB, free: 46.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07603/6.834, allocations: 22.69 MB / 3.049 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/6.834, allocations: 0 / 3.049 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01438/6.848, allocations: 1.869 MB / 3.051 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/6.849, allocations: 190.4 kB / 3.051 GB, free: 21.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002741/6.852, allocations: 139.8 kB / 3.052 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/6.855, allocations: 2.979 MB / 3.055 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/6.855, allocations: 0 / 3.055 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05072/6.906, allocations: 13.24 MB / 3.067 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005851/6.912, allocations: 1.832 MB / 3.069 GB, free: 3.039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/6.914, allocations: 4 kB / 3.069 GB, free: 3.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/6.924, allocations: 0.6827 MB / 3.07 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/6.926, allocations: 417.2 kB / 3.07 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009126/6.926, allocations: 275.7 kB / 3.071 GB, free: 1.672 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003078/6.93, allocations: 1.773 MB / 3.072 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/6.93, allocations: 0 / 3.072 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008724/6.938, allocations: 1.855 MB / 3.074 GB, free: 14.05 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.5399/7.478, allocations: 15.07 MB / 3.089 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02114/7.499, allocations: 7.783 MB / 3.096 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/7.499, allocations: 0 / 3.096 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/7.51, allocations: 4.331 MB / 3.101 GB, free: 150.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/7.516, allocations: 0.5891 MB / 3.101 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/7.551, allocations: 11.17 MB / 3.112 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/7.555, allocations: 3.434 MB / 3.115 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01523/7.57, allocations: 1.688 MB / 3.117 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008624/7.578, allocations: 3.311 MB / 3.12 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.713e-06/7.578, allocations: 0 / 3.12 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/7.817, allocations: 131 MB / 3.248 GB, free: 92.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/7.817, allocations: 193.5 kB / 3.248 GB, free: 92.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/14.47, allocations: 2.672 kB / 3.248 GB, free: 92.34 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)