Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001536/0.001536, allocations: 168.9 kB / 366.7 MB, free: 1.637 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.638/1.638, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009401/0.0009397, allocations: 91.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.964e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7584, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9619, allocations: 140.2 MB / 1.11 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.9623, allocations: 91.02 kB / 1.11 GB, free: 9.84 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.00936/0.9717, allocations: 2.854 MB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9717, allocations: 0.5938 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.505e-06/0.9717, allocations: 4.719 kB / 1.113 GB, free: 7.008 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.0005215/0.9722, allocations: 437 kB / 1.114 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9723, allocations: 12.03 kB / 1.114 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.9723, allocations: 8.75 kB / 1.114 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.9725, allocations: 177.2 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.9725, allocations: 0.5 kB / 1.114 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.9726, allocations: 8.766 kB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.131e-05/0.9727, allocations: 23.94 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.9728, allocations: 54.3 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9728, allocations: 0.8125 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9729, allocations: 4 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9729, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.9734, allocations: 282 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.044e-05/0.9735, allocations: 38.58 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.9736, allocations: 24.92 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.9736, allocations: 5.328 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.9737, allocations: 68.67 kB / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.9738, allocations: 0 / 1.114 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002469/0.974, allocations: 89.73 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.9741, allocations: 60.7 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.9742, allocations: 111.5 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.9742, allocations: 33.62 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.9743, allocations: 85.8 kB / 1.115 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9743, allocations: 19.75 kB / 1.115 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.9743, allocations: 0 / 1.115 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9745, allocations: 329 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.9745, allocations: 15.94 kB / 1.115 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.9746, allocations: 45.16 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.9746, allocations: 23.39 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9747, allocations: 0 / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001526/0.9748, allocations: 95.08 kB / 1.115 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9748, allocations: 8.031 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9749, allocations: 4 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.9749, allocations: 0 / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.975, allocations: 15.98 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.975, allocations: 4 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.9751, allocations: 4.938 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.9751, allocations: 4 kB / 1.115 GB, free: 4.75 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 0.0001026/0.9752, allocations: 120.9 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001457/0.9753, allocations: 94.73 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.9754, allocations: 7.906 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.9754, allocations: 4.625 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9754, allocations: 4 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9754, allocations: 0 / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9754, allocations: 0 / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.9758, allocations: 341.2 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9758, allocations: 1.875 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.9758, allocations: 8 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9759, allocations: 0 / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.9759, allocations: 4 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.9759, allocations: 3.984 kB / 1.116 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9759, allocations: 4 kB / 1.116 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.9761, allocations: 197.4 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.9761, allocations: 81.11 kB / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.9762, allocations: 0 / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.9763, allocations: 11.98 kB / 1.116 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.9763, allocations: 8 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.9763, allocations: 3.984 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.9764, allocations: 93.2 kB / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9764, allocations: 0 / 1.116 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003202/0.9767, allocations: 51.92 kB / 1.116 GB, free: 3.652 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.0008272/0.9776, allocations: 0.7909 MB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.9777, allocations: 47.98 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9777, allocations: 1.812 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.9778, allocations: 35.06 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.978, allocations: 7.984 kB / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.9784, allocations: 151.2 kB / 1.117 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.9787, allocations: 0.6892 MB / 1.118 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.9788, allocations: 5.438 kB / 1.118 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.9788, allocations: 27.42 kB / 1.118 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.9789, allocations: 0 / 1.118 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/1.001, allocations: 2.174 MB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.001, allocations: 184.8 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.757, allocations: 0 / 1.12 GB, free: 15.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)