Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.682/1.682, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001139/0.001139, allocations: 168.9 kB / 366.7 MB, free: 1.645 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.674/1.674, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008626/0.0008626, allocations: 87.7 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.807e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7138, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.9324, allocations: 140.3 MB / 1.11 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.9327, allocations: 84.53 kB / 1.11 GB, free: 9.699 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.009427/0.9421, allocations: 3.028 MB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9422, allocations: 1.656 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.9422, allocations: 0 / 1.113 GB, free: 6.703 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.0005735/0.9428, allocations: 454.2 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9428, allocations: 9.375 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.9429, allocations: 7.906 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.9431, allocations: 189.5 kB / 1.114 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.9431, allocations: 4 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.9431, allocations: 4.562 kB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.635e-05/0.9432, allocations: 28 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.9434, allocations: 78.89 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9434, allocations: 0 / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.9434, allocations: 0 / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9434, allocations: 5.281 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.9441, allocations: 298.8 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.9442, allocations: 56.94 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.9443, allocations: 32.86 kB / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.9443, allocations: 0 / 1.115 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.9445, allocations: 90.12 kB / 1.115 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.9445, allocations: 0 / 1.115 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003421/0.9448, allocations: 129.5 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.9449, allocations: 55.41 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.945, allocations: 114.1 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.945, allocations: 26.48 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.9451, allocations: 96.27 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.9451, allocations: 20.94 kB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.9452, allocations: 0 / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9453, allocations: 327.3 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.9454, allocations: 16.5 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.9454, allocations: 66.64 kB / 1.115 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.9455, allocations: 39.84 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9455, allocations: 1.125 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001567/0.9457, allocations: 101.5 kB / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9457, allocations: 5.094 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9457, allocations: 0 / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9457, allocations: 4 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.9459, allocations: 24.08 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9459, allocations: 9.328 kB / 1.116 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.9459, allocations: 7.906 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.946, allocations: 4 kB / 1.116 GB, free: 4.234 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 0.0001008/0.9461, allocations: 124.8 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002309/0.9463, allocations: 130.8 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.9463, allocations: 4 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.9464, allocations: 12.62 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9464, allocations: 4 kB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9464, allocations: 0 / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9464, allocations: 3.984 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.9469, allocations: 394 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9469, allocations: 0 / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.9469, allocations: 11.17 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9469, allocations: 0 / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.947, allocations: 4 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.947, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.947, allocations: 4 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.9473, allocations: 235.3 kB / 1.116 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.9473, allocations: 81.02 kB / 1.117 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.9474, allocations: 4 kB / 1.117 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.9475, allocations: 7.984 kB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.9475, allocations: 4 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.9475, allocations: 7.984 kB / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.9476, allocations: 101.7 kB / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9476, allocations: 0 / 1.117 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003552/0.948, allocations: 51.92 kB / 1.117 GB, free: 2.988 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.0009312/0.9489, allocations: 0.8389 MB / 1.118 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.9491, allocations: 69.33 kB / 1.118 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9491, allocations: 4 kB / 1.118 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.9492, allocations: 36 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.9494, allocations: 8.297 kB / 1.118 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.9499, allocations: 173.9 kB / 1.118 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.9502, allocations: 0.6963 MB / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.9503, allocations: 4 kB / 1.119 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.9503, allocations: 25.39 kB / 1.119 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9504, allocations: 0 / 1.119 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.9716, allocations: 2.502 MB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.9719, allocations: 193.4 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.606, allocations: 2.719 kB / 1.121 GB, free: 14.44 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)