Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00746/0.00746, allocations: 173.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.0005559, allocations: 16.31 kB / 0.6744 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2365, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001662/0.2382, allocations: 1.219 MB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2395, allocations: 0.749 MB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.2395, allocations: 0 / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.2396, allocations: 7.922 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.917e-05/0.2396, allocations: 7.938 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.2401, allocations: 103.8 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.2402, allocations: 71.78 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.2403, allocations: 7.984 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.2404, allocations: 31.84 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.2405, allocations: 35.84 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2405, allocations: 4 kB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2407, allocations: 87.91 kB / 0.7903 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.2407, allocations: 19.97 kB / 0.7903 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.2408, allocations: 53.5 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.241, allocations: 143.9 kB / 0.7905 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2411, allocations: 0 / 0.7905 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2411, allocations: 3.938 kB / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2411, allocations: 0 / 0.7905 GB, free: 8.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000535/0.2416, allocations: 401 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2417, allocations: 8.031 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2417, allocations: 42.75 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.2417, allocations: 8.844 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2419, allocations: 180.2 kB / 0.7911 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2419, allocations: 4.359 kB / 0.7911 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2419, allocations: 8.375 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2421, allocations: 73.72 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2421, allocations: 4 kB / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2421, allocations: 0 / 0.7912 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2422, allocations: 4 kB / 0.7912 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2423, allocations: 43.97 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.2429, allocations: 316.8 kB / 0.7915 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.243, allocations: 54.48 kB / 0.7916 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.2431, allocations: 32.97 kB / 0.7916 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2432, allocations: 4 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.2434, allocations: 83.38 kB / 0.7917 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2434, allocations: 0 / 0.7917 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.2438, allocations: 149.5 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2438, allocations: 63.34 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2439, allocations: 121.8 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.244, allocations: 29.64 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.244, allocations: 95.98 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.2441, allocations: 15.89 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2441, allocations: 17.72 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2442, allocations: 322.8 kB / 0.7925 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2444, allocations: 31.98 kB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2445, allocations: 50.56 kB / 0.7925 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.2447, allocations: 82.48 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2447, allocations: 0 / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002396/0.2449, allocations: 121.8 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2449, allocations: 8 kB / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2449, allocations: 80 / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.245, allocations: 0 / 0.7927 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.2451, allocations: 20.05 kB / 0.7928 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2451, allocations: 7.984 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.2452, allocations: 7.906 kB / 0.7928 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2452, allocations: 4 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2453, allocations: 129.6 kB / 0.7929 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.2453, allocations: 4 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2453, allocations: 8.375 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.2453, allocations: 4 kB / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2454, allocations: 4 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2454, allocations: 0 / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.2458, allocations: 386.4 kB / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2458, allocations: 0 / 0.7933 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.2459, allocations: 11.92 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2459, allocations: 8 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2459, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2459, allocations: 3.938 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2459, allocations: 3.938 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.2462, allocations: 211.4 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.2463, allocations: 81.11 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2463, allocations: 8 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.2464, allocations: 7.938 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.2464, allocations: 11.98 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2464, allocations: 0 / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2465, allocations: 91.27 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2465, allocations: 4 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003068/0.2468, allocations: 39.98 kB / 0.7937 GB, free: 5.207 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007882/0.2476, allocations: 0.805 MB / 0.7945 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2479, allocations: 83.88 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2479, allocations: 0 / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.248, allocations: 31.98 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2482, allocations: 14.38 kB / 0.7947 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2498, allocations: 1.536 MB / 0.7962 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.25, allocations: 0.6887 MB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.2501, allocations: 11.98 kB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2501, allocations: 23.42 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2501, allocations: 3.938 kB / 0.7969 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.2872, allocations: 2.327 MB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.2875, allocations: 259.8 kB / 0.7994 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.166, allocations: 4.062 kB / 0.7994 GB, free: 15.39 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)