Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.725/3.725, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002394, allocations: 188.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.845/3.845, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 94.48 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006388/0.0006392, allocations: 12.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2691, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.5957, allocations: 133.5 MB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/0.5961, allocations: 91.94 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.613, allocations: 3.004 MB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/0.6131, allocations: 0 / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6131, allocations: 0 / 1.033 GB, free: 8.773 MB / 0.6823 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.0008229/0.6139, allocations: 432.9 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.614, allocations: 12.03 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.6141, allocations: 4.844 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.6142, allocations: 164.4 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.6143, allocations: 4.375 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.6143, allocations: 8.375 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.6147, allocations: 70.16 kB / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6147, allocations: 192 / 1.034 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.6148, allocations: 3.938 kB / 1.034 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.6148, allocations: 11.94 kB / 1.034 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.615, allocations: 43.95 kB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.616, allocations: 324.7 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.6163, allocations: 62.44 kB / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.6165, allocations: 32.97 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.6165, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.6168, allocations: 79.38 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/0.6168, allocations: 0 / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007088/0.6175, allocations: 149.6 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.6176, allocations: 63.28 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.6178, allocations: 125.8 kB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.6178, allocations: 25.7 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.6179, allocations: 92.14 kB / 1.035 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.618, allocations: 15.8 kB / 1.035 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.618, allocations: 4 kB / 1.035 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6182, allocations: 318.8 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.6183, allocations: 35.97 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6185, allocations: 50.55 kB / 1.035 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.6188, allocations: 36.3 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6188, allocations: 0 / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004627/0.6193, allocations: 125.5 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6193, allocations: 4 kB / 1.035 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6193, allocations: 0 / 1.035 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6194, allocations: 4 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.6195, allocations: 15.92 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6196, allocations: 0 / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.6197, allocations: 16.06 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.6198, allocations: 3.938 kB / 1.035 GB, free: 6.246 MB / 0.6823 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.6199, allocations: 123.2 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.62, allocations: 7.891 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.62, allocations: 12.38 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.62, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.62, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6201, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.6209, allocations: 386.4 kB / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6209, allocations: 0 / 1.036 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.621, allocations: 8 kB / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.621, allocations: 0 / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.621, allocations: 3.984 kB / 1.036 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.621, allocations: 0 / 1.036 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.621, allocations: 8 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.6216, allocations: 215.3 kB / 1.036 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.6217, allocations: 92.94 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.6217, allocations: 8 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6219, allocations: 8 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.622, allocations: 11.92 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.622, allocations: 0 / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.722e-05/0.6221, allocations: 95.27 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6221, allocations: 0 / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001216/0.6233, allocations: 47.94 kB / 1.036 GB, free: 5.141 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000616/0.624, allocations: 173.1 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.6244, allocations: 71.91 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6245, allocations: 0 / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.6247, allocations: 43.97 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.6252, allocations: 8.125 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.6259, allocations: 211.6 kB / 1.037 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6262, allocations: 0.6848 MB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.6263, allocations: 15.97 kB / 1.037 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.6264, allocations: 11.44 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.6264, allocations: 0 / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of Templates: time 0.00724/0.6336, allocations: 1.516 MB / 1.039 GB, free: 2.367 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)