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.808/1.808, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001088/0.001088, allocations: 180 kB / 377.1 MB, free: 1.512 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.634/1.634, allocations: 205.4 MB / 0.6366 GB, free: 8.637 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.001044/0.001044, allocations: 87.19 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3004, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.172, allocations: 141.1 MB / 1.126 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/1.172, allocations: 89.11 kB / 1.126 GB, free: 33.9 MB / 0.7292 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.009815/1.182, allocations: 3.058 MB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.268e-06/1.182, allocations: 0 / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.182, allocations: 4 kB / 1.129 GB, free: 31.7 MB / 0.7292 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.0007119/1.183, allocations: 461.6 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.183, allocations: 12.03 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/1.183, allocations: 37.94 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/1.183, allocations: 13.91 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.183, allocations: 171 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.183, allocations: 18.84 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.184, allocations: 5.312 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/1.184, allocations: 87.42 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.184, allocations: 4 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.184, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.184, allocations: 4 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/1.184, allocations: 50.12 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/1.185, allocations: 334.5 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/1.185, allocations: 61.61 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/1.185, allocations: 4 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/1.185, allocations: 101.8 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 3.527e-06/1.185, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0005364/1.186, allocations: 197.7 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.186, allocations: 54.88 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/1.186, allocations: 121.8 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/1.186, allocations: 29.7 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/1.186, allocations: 95.94 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/1.186, allocations: 19.95 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/1.186, allocations: 4.562 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.186, allocations: 322.4 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/1.186, allocations: 27.22 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.187, allocations: 81.8 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/1.187, allocations: 39.59 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.187, allocations: 4 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000268/1.187, allocations: 136.4 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.187, allocations: 8 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.187, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.187, allocations: 8.156 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.187, allocations: 19.45 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.187, allocations: 4 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/1.187, allocations: 13.28 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/1.187, allocations: 11.95 kB / 1.132 GB, free: 29.12 MB / 0.7292 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 () * Number of clocked 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.0001137/1.187, allocations: 121.3 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/1.187, allocations: 11.84 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/1.187, allocations: 13.69 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.187, allocations: 7.938 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.187, allocations: 0.5 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.187, allocations: 0 / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/1.188, allocations: 437.6 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.188, allocations: 0.75 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/1.188, allocations: 8 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.188, allocations: 0 / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/1.188, allocations: 7.469 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.188, allocations: 0 / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.188, allocations: 1.688 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/1.188, allocations: 256.9 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/1.189, allocations: 85.23 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/1.189, allocations: 8 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.189, allocations: 4 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/1.189, allocations: 8.406 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.189, allocations: 4.625 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.053e-05/1.189, allocations: 106.7 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.189, allocations: 0 / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003556/1.189, allocations: 56.81 kB / 1.133 GB, free: 28 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0009635/1.19, allocations: 0.8566 MB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002883/1.19, allocations: 98.42 kB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.19, allocations: 3.938 kB / 1.134 GB, free: 27.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/1.191, allocations: 60.06 kB / 1.134 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.191, allocations: 12.5 kB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.192, allocations: 1.386 MB / 1.135 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/1.192, allocations: 0.6912 MB / 1.136 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.865e-05/1.193, allocations: 9.297 kB / 1.136 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/1.193, allocations: 26.95 kB / 1.136 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.193, allocations: 0 / 1.136 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/1.214, allocations: 2.805 MB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003735/1.214, allocations: 238.9 kB / 1.139 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.985, allocations: 3.094 kB / 1.139 GB, free: 23.11 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)