Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 293 MB / 309 MB, free: 4.781 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 179.9 kB / 378.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 0.6383 GB, free: 8.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.000754, allocations: 92.62 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6695/0.9236, allocations: 141 MB / 1.128 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.9239, allocations: 79.52 kB / 1.128 GB, free: 33.19 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.00761/0.9315, allocations: 2.902 MB / 1.131 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9315, allocations: 0 / 1.131 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9315, allocations: 0 / 1.131 GB, free: 31.1 MB / 0.7292 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.0004637/0.932, allocations: 450.1 kB / 1.131 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9321, allocations: 8.031 kB / 1.131 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.9321, allocations: 8.938 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.9322, allocations: 179.6 kB / 1.132 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.9322, allocations: 8.875 kB / 1.132 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.9322, allocations: 4.375 kB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.9324, allocations: 67.62 kB / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.9324, allocations: 1.312 kB / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.9325, allocations: 7.938 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9325, allocations: 4 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.9326, allocations: 42.8 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.933, allocations: 309.1 kB / 1.132 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.9331, allocations: 57.36 kB / 1.132 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.9332, allocations: 32.45 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.9333, allocations: 4 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.9334, allocations: 81.75 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.9334, allocations: 7.938 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.000358/0.9338, allocations: 140.2 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9338, allocations: 55.41 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.9339, allocations: 116.9 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.9339, allocations: 33.7 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.934, allocations: 88.14 kB / 1.133 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.934, allocations: 23.2 kB / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.934, allocations: 0 / 1.133 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.9341, allocations: 322.2 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.9341, allocations: 23.94 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.9342, allocations: 72.62 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.9344, allocations: 95.56 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9344, allocations: 3.938 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001798/0.9346, allocations: 115.1 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.9346, allocations: 12.16 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9346, allocations: 1.781 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9346, allocations: 7.281 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.9347, allocations: 8 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.9347, allocations: 7.938 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.9348, allocations: 7.422 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.9348, allocations: 8.547 kB / 1.133 GB, free: 28.62 MB / 0.7292 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 6.85e-05/0.9349, allocations: 130.2 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.9349, allocations: 4.844 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.9349, allocations: 15.89 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9349, allocations: 3.891 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9349, allocations: 0 / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9349, allocations: 0.625 kB / 1.134 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.9353, allocations: 384.8 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9353, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.9354, allocations: 7.469 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9354, allocations: 4.625 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.9354, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9354, allocations: 1.484 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9354, allocations: 3.609 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.9356, allocations: 225.4 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.9357, allocations: 81.58 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.9357, allocations: 0 / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.9358, allocations: 11.47 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.9358, allocations: 3.938 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.9359, allocations: 8.109 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.9359, allocations: 91.16 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9359, allocations: 4 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002972/0.9362, allocations: 48.69 kB / 1.134 GB, free: 27.59 MB / 0.7292 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.0003262/0.9366, allocations: 172.8 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.9368, allocations: 74.39 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9368, allocations: 0 / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.9369, allocations: 39.45 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.9371, allocations: 12.59 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.9375, allocations: 205.8 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.9376, allocations: 0.6875 MB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.9377, allocations: 8.578 kB / 1.135 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.9377, allocations: 11.44 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.9377, allocations: 4 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.003852/0.9415, allocations: 1.509 MB / 1.137 GB, free: 25.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)