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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.00102/0.00102, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.315/1.315, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008384/0.0008384, allocations: 92.31 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.494e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.547, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.7075, allocations: 140.2 MB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.7078, allocations: 81.39 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.007665/0.7154, allocations: 2.854 MB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7154, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.7155, allocations: 0.7188 kB / 1.113 GB, free: 7.129 MB / 0.7136 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.0003836/0.7158, allocations: 431 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.7159, allocations: 16.55 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.7159, allocations: 7.906 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.716, allocations: 175.5 kB / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.7161, allocations: 4.812 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.7161, allocations: 4 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.888e-05/0.7162, allocations: 20 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.7163, allocations: 58.5 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.7163, allocations: 3.125 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.7163, allocations: 4 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7163, allocations: 3.984 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.7167, allocations: 273.1 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.7168, allocations: 46.5 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.7168, allocations: 20.98 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.7168, allocations: 2.625 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.971e-05/0.7169, allocations: 71.3 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.717, allocations: 0 / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001896/0.7171, allocations: 89.73 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.7172, allocations: 55.41 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.7173, allocations: 116.8 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.7173, allocations: 29.64 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.7173, allocations: 85.8 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.7174, allocations: 27.67 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.7174, allocations: 0 / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.7175, allocations: 322.8 kB / 1.115 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.7175, allocations: 14.03 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.7175, allocations: 51.88 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.7176, allocations: 21.89 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7176, allocations: 1.625 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001258/0.7177, allocations: 89.47 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.7178, allocations: 10.41 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7178, allocations: 5.641 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.7178, allocations: 6.484 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.7179, allocations: 12 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7179, allocations: 4 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.7179, allocations: 7.984 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.718, allocations: 4 kB / 1.115 GB, free: 4.871 MB / 0.7136 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 () * 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 7.04e-05/0.718, allocations: 117.4 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.7181, allocations: 7.906 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.233e-05/0.7181, allocations: 8.625 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.7181, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7181, allocations: 0 / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7181, allocations: 3.984 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.7184, allocations: 335 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7184, allocations: 0 / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.7185, allocations: 7.984 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7185, allocations: 8 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.7185, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7185, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7185, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.7187, allocations: 191.4 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.7187, allocations: 88.94 kB / 1.116 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.7188, allocations: 4 kB / 1.116 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.7188, allocations: 10.69 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.7189, allocations: 7.078 kB / 1.116 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.7189, allocations: 8 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.7189, allocations: 91.27 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.719, allocations: 3.938 kB / 1.116 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002652/0.7192, allocations: 43.94 kB / 1.116 GB, free: 3.879 MB / 0.7136 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 () * 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.00029/0.7195, allocations: 175.2 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.7196, allocations: 54.17 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.7197, allocations: 0 / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.7197, allocations: 27.98 kB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.7199, allocations: 7.938 kB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.7201, allocations: 96.84 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.7203, allocations: 0.697 MB / 1.117 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.7204, allocations: 5.438 kB / 1.117 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.7204, allocations: 11.44 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7204, allocations: 0 / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of Templates: time 0.003548/0.724, allocations: 1.492 MB / 1.118 GB, free: 1.324 MB / 0.7136 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)