Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.871/3.871, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.002309/0.002309, allocations: 190.4 kB / 326.3 MB, free: 2.871 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.975/3.975, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.001403/0.001403, allocations: 89.47 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007301/0.0007305, allocations: 15.38 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3557, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.7145, allocations: 133.4 MB / 1.03 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005041/0.7151, allocations: 95.94 kB / 1.03 GB, free: 11.84 MB / 0.6824 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.02284/0.7379, allocations: 2.895 MB / 1.033 GB, free: 8.934 MB / 0.6824 GB Notification: Performance of FrontEnd: time 5.23e-06/0.738, allocations: 4 kB / 1.033 GB, free: 8.93 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.7381, allocations: 4 kB / 1.033 GB, free: 8.926 MB / 0.6824 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.002036/0.7401, allocations: 446.6 kB / 1.033 GB, free: 8.426 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 8.257e-05/0.7403, allocations: 12.03 kB / 1.033 GB, free: 8.414 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7404, allocations: 8.844 kB / 1.033 GB, free: 8.406 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.7408, allocations: 168.4 kB / 1.033 GB, free: 8.203 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.7409, allocations: 4.359 kB / 1.033 GB, free: 8.199 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.741, allocations: 12.38 kB / 1.033 GB, free: 8.188 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.7415, allocations: 70.16 kB / 1.033 GB, free: 8.113 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.7416, allocations: 192 / 1.033 GB, free: 8.113 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.7417, allocations: 11.94 kB / 1.033 GB, free: 8.102 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7417, allocations: 0 / 1.033 GB, free: 8.102 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.7424, allocations: 43.95 kB / 1.033 GB, free: 8.059 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7438, allocations: 304.8 kB / 1.034 GB, free: 7.711 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.7442, allocations: 54.44 kB / 1.034 GB, free: 7.648 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.7445, allocations: 40.97 kB / 1.034 GB, free: 7.605 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.7446, allocations: 0 / 1.034 GB, free: 7.605 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.7451, allocations: 83.25 kB / 1.034 GB, free: 7.512 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 4.468e-06/0.7452, allocations: 0 / 1.034 GB, free: 7.512 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.001584/0.7468, allocations: 161.8 kB / 1.034 GB, free: 7.348 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.7469, allocations: 55.41 kB / 1.034 GB, free: 7.281 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.7472, allocations: 121.8 kB / 1.034 GB, free: 7.152 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.7472, allocations: 29.7 kB / 1.034 GB, free: 7.117 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.7474, allocations: 92.12 kB / 1.034 GB, free: 7.023 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.7474, allocations: 11.81 kB / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.7475, allocations: 0 / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.7477, allocations: 330.8 kB / 1.035 GB, free: 6.68 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.748, allocations: 23.98 kB / 1.035 GB, free: 6.656 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.7482, allocations: 57.14 kB / 1.035 GB, free: 6.582 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.7485, allocations: 35.98 kB / 1.035 GB, free: 6.547 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7485, allocations: 0 / 1.035 GB, free: 6.547 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006386/0.7492, allocations: 121.5 kB / 1.035 GB, free: 6.422 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.7492, allocations: 8 kB / 1.035 GB, free: 6.414 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7493, allocations: 3.938 kB / 1.035 GB, free: 6.41 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.7493, allocations: 4 kB / 1.035 GB, free: 6.406 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.7495, allocations: 11.98 kB / 1.035 GB, free: 6.395 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.7495, allocations: 4 kB / 1.035 GB, free: 6.391 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7497, allocations: 4 kB / 1.035 GB, free: 6.387 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.7498, allocations: 4 kB / 1.035 GB, free: 6.383 MB / 0.6824 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,bli.occ,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.7501, allocations: 140.5 kB / 1.035 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.7501, allocations: 3.906 kB / 1.035 GB, free: 6.234 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.7502, allocations: 8.375 kB / 1.035 GB, free: 6.227 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.7502, allocations: 0 / 1.035 GB, free: 6.227 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.7503, allocations: 0 / 1.035 GB, free: 6.227 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7503, allocations: 3.938 kB / 1.035 GB, free: 6.223 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.7515, allocations: 390.4 kB / 1.035 GB, free: 5.785 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7515, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7517, allocations: 11.92 kB / 1.035 GB, free: 5.773 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.7517, allocations: 4 kB / 1.036 GB, free: 5.77 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.7517, allocations: 0 / 1.036 GB, free: 5.77 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.7517, allocations: 0 / 1.036 GB, free: 5.77 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7518, allocations: 0 / 1.036 GB, free: 5.77 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.7525, allocations: 223.3 kB / 1.036 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.7527, allocations: 81.02 kB / 1.036 GB, free: 5.438 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.7527, allocations: 4 kB / 1.036 GB, free: 5.434 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.753, allocations: 7.984 kB / 1.036 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.7531, allocations: 7.938 kB / 1.036 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.7531, allocations: 8 kB / 1.036 GB, free: 5.41 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001203/0.7533, allocations: 91.92 kB / 1.036 GB, free: 5.32 MB / 0.6824 GB Notification: Performance of sort global known variables: time 9.22e-07/0.7533, allocations: 3.938 kB / 1.036 GB, free: 5.316 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000907/0.7542, allocations: 47.92 kB / 1.036 GB, free: 5.27 MB / 0.6824 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,bli.occ,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 (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.0007584/0.755, allocations: 175.7 kB / 1.036 GB, free: 5.105 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.000668/0.7557, allocations: 75.89 kB / 1.036 GB, free: 5.031 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.7557, allocations: 0 / 1.036 GB, free: 5.031 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.756, allocations: 39.92 kB / 1.036 GB, free: 4.992 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006716/0.7567, allocations: 8.312 kB / 1.036 GB, free: 4.984 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.7577, allocations: 215.1 kB / 1.036 GB, free: 4.738 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.7582, allocations: 0.6887 MB / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.7583, allocations: 8 kB / 1.037 GB, free: 4.016 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.7584, allocations: 11.42 kB / 1.037 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of SimCode: time 2.023e-06/0.7584, allocations: 4 kB / 1.037 GB, free: 4.004 MB / 0.6824 GB Notification: Performance of Templates: time 0.009372/0.7678, allocations: 1.506 MB / 1.039 GB, free: 2.504 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)