Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 268 MB, free: 10.86 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.001108/0.001108, allocations: 174.2 kB / 327.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.5786 GB, free: 20.4 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.0007466/0.0007466, allocations: 96.78 kB / 0.6832 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 9.312 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.172, allocations: 106.3 MB / 0.9014 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001477/0.1735, allocations: 1.207 MB / 0.9026 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1746, allocations: 0.7681 MB / 0.9034 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.1746, allocations: 0 / 0.9034 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1747, allocations: 0 / 0.9034 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.1747, allocations: 15.86 kB / 0.9034 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1751, allocations: 103.7 kB / 0.9035 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.1752, allocations: 63.84 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.1753, allocations: 8 kB / 0.9036 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.1754, allocations: 31.84 kB / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.1755, allocations: 31.84 kB / 0.9036 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1755, allocations: 4 kB / 0.9036 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1756, allocations: 87.91 kB / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1757, allocations: 11.92 kB / 0.9037 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1757, allocations: 57.56 kB / 0.9038 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.1759, allocations: 95.83 kB / 0.9039 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1759, allocations: 0 / 0.9039 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1759, allocations: 3.938 kB / 0.9039 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1759, allocations: 4 kB / 0.9039 GB, free: 61.28 MB / 0.6042 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.0004498/0.1763, allocations: 427 kB / 0.9043 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1764, allocations: 12.03 kB / 0.9043 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.1764, allocations: 8.844 kB / 0.9043 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.1765, allocations: 184.2 kB / 0.9045 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1765, allocations: 384 / 0.9045 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1766, allocations: 8.375 kB / 0.9045 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1767, allocations: 77.95 kB / 0.9046 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1768, allocations: 4 kB / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1768, allocations: 0 / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1768, allocations: 0 / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1769, allocations: 55.84 kB / 0.9046 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.1773, allocations: 296.8 kB / 0.9049 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1774, allocations: 50.56 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1775, allocations: 32.97 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1776, allocations: 4 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1777, allocations: 87.2 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.1777, allocations: 3.984 kB / 0.9051 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000374/0.1781, allocations: 149.7 kB / 0.9052 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.1782, allocations: 55.41 kB / 0.9053 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.1782, allocations: 121.8 kB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1783, allocations: 29.7 kB / 0.9054 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.1783, allocations: 92.12 kB / 0.9055 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.1783, allocations: 19.75 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1783, allocations: 0 / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.1784, allocations: 326.8 kB / 0.9058 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.1784, allocations: 23.98 kB / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.1785, allocations: 69.52 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1787, allocations: 97.06 kB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1787, allocations: 0 / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/0.1789, allocations: 121.4 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1789, allocations: 8 kB / 0.9061 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1789, allocations: 160 / 0.9061 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1789, allocations: 8 kB / 0.9061 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.179, allocations: 15.92 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.179, allocations: 4 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1791, allocations: 4 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1791, allocations: 4 kB / 0.9062 GB, free: 58.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.1792, allocations: 132.3 kB / 0.9063 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1792, allocations: 3.906 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.1792, allocations: 12.38 kB / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1792, allocations: 0 / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1792, allocations: 0 / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1792, allocations: 0 / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1796, allocations: 386.4 kB / 0.9067 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1796, allocations: 4 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.1796, allocations: 11.98 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1796, allocations: 0 / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1797, allocations: 0 / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1797, allocations: 0 / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1797, allocations: 3.938 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1799, allocations: 219.3 kB / 0.9069 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.1799, allocations: 84.95 kB / 0.907 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.18, allocations: 11.94 kB / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.18, allocations: 4 kB / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1801, allocations: 7.922 kB / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1801, allocations: 4 kB / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.025e-05/0.1801, allocations: 95.42 kB / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1801, allocations: 0 / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002599/0.1804, allocations: 39.98 kB / 0.9071 GB, free: 57.57 MB / 0.6042 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0002984/0.1807, allocations: 164.9 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1809, allocations: 80.02 kB / 0.9074 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1809, allocations: 0 / 0.9074 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.181, allocations: 44.38 kB / 0.9074 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1813, allocations: 8 kB / 0.9074 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.1817, allocations: 241 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1818, allocations: 0.6922 MB / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.1818, allocations: 11.44 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1818, allocations: 0 / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002718/0.1845, allocations: 1.577 MB / 0.9099 GB, free: 54.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)