Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.188/2.188, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 198.7 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 98.89 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 49.75 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002612/0.2968, allocations: 1.56 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2979, allocations: 0.706 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.298, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.2981, allocations: 7.922 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.2981, allocations: 11.92 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.2986, allocations: 103.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.2987, allocations: 71.72 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.2988, allocations: 8 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.2989, allocations: 27.92 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.299, allocations: 35.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.299, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.2992, allocations: 95.84 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.2992, allocations: 11.98 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.2992, allocations: 31.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2994, allocations: 137.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2994, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2995, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2995, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 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.0005166/0.3, allocations: 434.7 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3, allocations: 15.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3001, allocations: 8.844 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.3002, allocations: 184.1 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.3002, allocations: 8.375 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3002, allocations: 4.375 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3004, allocations: 65.97 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3004, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3005, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3005, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3006, allocations: 43.95 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3011, allocations: 296.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3012, allocations: 50.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.906e-05/0.3013, allocations: 28.97 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.3013, allocations: 8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.3015, allocations: 75.38 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3016, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003829/0.3019, allocations: 141.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.302, allocations: 51.41 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3021, allocations: 129.7 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3021, allocations: 29.7 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.3022, allocations: 92.12 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3022, allocations: 11.81 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3023, allocations: 29.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.3023, allocations: 318.8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.3024, allocations: 23.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.3025, allocations: 65.12 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3027, allocations: 93 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3027, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001892/0.3029, allocations: 113.4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3029, allocations: 5.094 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3029, allocations: 8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3029, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.303, allocations: 20.16 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.303, allocations: 4.297 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.3031, allocations: 7.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3031, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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 8.905e-05/0.3032, allocations: 126.4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.3032, allocations: 11.84 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.3033, allocations: 12.36 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3033, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3033, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3033, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3037, allocations: 386.4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3037, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.3037, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3038, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3038, allocations: 7.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3038, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3038, allocations: 3.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.3043, allocations: 0.7902 MB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.3043, allocations: 88.97 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3043, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.3044, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3044, allocations: 11.98 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3045, allocations: 4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.3045, allocations: 99.86 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3045, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003814/0.3049, allocations: 36 kB / 1.225 GB, free: 110.1 MB / 0.823 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.0003318/0.3052, allocations: 153.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.3054, allocations: 71.88 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3054, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.3055, allocations: 39.92 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.3058, allocations: 14.17 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.3063, allocations: 325.8 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.3064, allocations: 0.6887 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3065, allocations: 7.984 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.3065, allocations: 23.38 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3065, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of Templates: time 0.003462/0.31, allocations: 1.39 MB / 1.227 GB, free: 107.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)