Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.798/1.798, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001131/0.00113, allocations: 184.5 kB / 377.1 MB, free: 1.523 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.692/1.692, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.001004/0.001003, allocations: 93.41 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2682, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6261/0.8944, allocations: 141 MB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.8946, allocations: 84.06 kB / 1.126 GB, free: 33.97 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.00814/0.9028, allocations: 3.001 MB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9028, allocations: 0 / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9028, allocations: 4 kB / 1.129 GB, free: 31.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004793/0.9033, allocations: 458.2 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9034, allocations: 12.03 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.9034, allocations: 34.64 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.9035, allocations: 9.969 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.9036, allocations: 163.1 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.9036, allocations: 19.31 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.9036, allocations: 4 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9038, allocations: 81.19 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9038, allocations: 0.6562 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9039, allocations: 3.562 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.9039, allocations: 4 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.904, allocations: 38.94 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.9044, allocations: 312.6 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.9046, allocations: 53.27 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.9046, allocations: 4 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.9048, allocations: 84.84 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.9048, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003602/0.9051, allocations: 159.1 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.9052, allocations: 59.41 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.9052, allocations: 116 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.9053, allocations: 29.7 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.9053, allocations: 88.33 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.9053, allocations: 15.42 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.9053, allocations: 4 kB / 1.131 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.9054, allocations: 322.4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.9055, allocations: 24.5 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.532e-05/0.9055, allocations: 60.67 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.9056, allocations: 35.56 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9056, allocations: 0 / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000211/0.9059, allocations: 124.5 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9059, allocations: 4.156 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9059, allocations: 8 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9059, allocations: 0 / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.906, allocations: 16.03 kB / 1.131 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.906, allocations: 4 kB / 1.131 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.9061, allocations: 8.688 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.9061, allocations: 7.953 kB / 1.131 GB, free: 29.38 MB / 0.7292 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.p,bli.p,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 (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 6.377e-05/0.9062, allocations: 126.2 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.9062, allocations: 12.47 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.9062, allocations: 8.375 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9062, allocations: 0 / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9062, allocations: 0 / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.9062, allocations: 1.5 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.9066, allocations: 399.7 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.9066, allocations: 4 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.9067, allocations: 11.5 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9067, allocations: 0 / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.9067, allocations: 4.5 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9067, allocations: 4 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9067, allocations: 0 / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.907, allocations: 218.8 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.907, allocations: 81.64 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.907, allocations: 8 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.9071, allocations: 7.562 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.9072, allocations: 3.562 kB / 1.132 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.9072, allocations: 5.062 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.9072, allocations: 94.8 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9072, allocations: 4.938 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000304/0.9075, allocations: 55.41 kB / 1.132 GB, free: 28.34 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0006453/0.9082, allocations: 0.8304 MB / 1.133 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.9084, allocations: 74.62 kB / 1.133 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9084, allocations: 0.8438 kB / 1.133 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.9085, allocations: 47.81 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.9087, allocations: 8.188 kB / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.9094, allocations: 1.203 MB / 1.135 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.9095, allocations: 0.6947 MB / 1.135 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.9095, allocations: 4.188 kB / 1.135 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.9096, allocations: 22.91 kB / 1.135 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.9096, allocations: 1.125 kB / 1.135 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.924, allocations: 2.574 MB / 1.138 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.9243, allocations: 253.2 kB / 1.138 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.612, allocations: 0 / 1.138 GB, free: 23.71 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)