Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.683/1.683, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001058/0.001057, allocations: 180.9 kB / 366.7 MB, free: 1.68 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.752/1.752, allocations: 205.2 MB / 0.626 GB, free: 7.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.0008305/0.0008309, allocations: 86.98 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.071e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7037, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.8994, allocations: 140.3 MB / 1.11 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.8997, allocations: 83.94 kB / 1.11 GB, free: 9.805 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.009083/0.9088, allocations: 3.031 MB / 1.113 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9089, allocations: 4.875 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.9089, allocations: 0 / 1.113 GB, free: 6.801 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005375/0.9094, allocations: 454.6 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9095, allocations: 9.344 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.9095, allocations: 7.906 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.9097, allocations: 180.7 kB / 1.114 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.9097, allocations: 5.094 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.9097, allocations: 4 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.244e-05/0.9098, allocations: 28 kB / 1.114 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.91, allocations: 86.2 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.91, allocations: 0 / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.91, allocations: 0 / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.91, allocations: 4 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.9106, allocations: 296.7 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.9107, allocations: 62.55 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.9108, allocations: 36.3 kB / 1.115 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.9108, allocations: 0 / 1.115 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.911, allocations: 87.41 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.911, allocations: 0 / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003188/0.9113, allocations: 133.5 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.9114, allocations: 55.39 kB / 1.115 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.9115, allocations: 113.8 kB / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.9115, allocations: 25.7 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.9116, allocations: 97.53 kB / 1.115 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.9116, allocations: 23.73 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.9116, allocations: 1.406 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9118, allocations: 318.8 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.9118, allocations: 16 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.9119, allocations: 71.97 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.912, allocations: 27.86 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.912, allocations: 0.6562 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001624/0.9122, allocations: 105.5 kB / 1.116 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9122, allocations: 8 kB / 1.116 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9122, allocations: 3.938 kB / 1.116 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9122, allocations: 4 kB / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.9123, allocations: 15.98 kB / 1.116 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.9123, allocations: 4 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.9124, allocations: 13.11 kB / 1.116 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.9124, allocations: 10.58 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.62e-05/0.9125, allocations: 120.8 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002167/0.9128, allocations: 129.5 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.9128, allocations: 4 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.9128, allocations: 12.61 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.9128, allocations: 4 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.9128, allocations: 3.094 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9128, allocations: 0 / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.9134, allocations: 399 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9134, allocations: 0 / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.9135, allocations: 4 kB / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9135, allocations: 0 / 1.116 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.9135, allocations: 3.984 kB / 1.116 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.9135, allocations: 4 kB / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.9135, allocations: 0 / 1.116 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.9139, allocations: 235.3 kB / 1.116 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.914, allocations: 85 kB / 1.117 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.914, allocations: 4 kB / 1.117 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.9141, allocations: 4 kB / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.9142, allocations: 3.984 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.9142, allocations: 6.5 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.9143, allocations: 105.3 kB / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.9143, allocations: 0 / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004635/0.9148, allocations: 55.92 kB / 1.117 GB, free: 3.082 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001016/0.9158, allocations: 0.8398 MB / 1.118 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.916, allocations: 63.94 kB / 1.118 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9161, allocations: 0 / 1.118 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.9162, allocations: 39.98 kB / 1.118 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.9165, allocations: 15.92 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.9171, allocations: 165.5 kB / 1.118 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.9175, allocations: 0.6966 MB / 1.119 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.9176, allocations: 7.984 kB / 1.119 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.9176, allocations: 27.42 kB / 1.119 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.9176, allocations: 0 / 1.119 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.9465, allocations: 2.486 MB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.9469, allocations: 193.6 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.594, allocations: 0 / 1.121 GB, free: 14.55 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)