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.838/1.838, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001041/0.001041, allocations: 180.8 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.755/1.755, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009667/0.0009665, allocations: 95.67 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.053e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7481, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.9711, allocations: 140.3 MB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.9714, allocations: 85.17 kB / 1.11 GB, free: 9.754 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.009198/0.9806, allocations: 2.966 MB / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9806, allocations: 0 / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.9806, allocations: 2.875 kB / 1.113 GB, free: 6.816 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.000541/0.9812, allocations: 441.7 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9813, allocations: 8.031 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.9813, allocations: 11.89 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.9815, allocations: 176.4 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.9815, allocations: 9.297 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.9815, allocations: 4 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.281e-05/0.9816, allocations: 20 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.9817, allocations: 70.92 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9818, allocations: 0 / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.9818, allocations: 0 / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.9818, allocations: 3.156 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.9823, allocations: 281.2 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.9824, allocations: 46.56 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.9825, allocations: 24.98 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.9825, allocations: 0 / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.9826, allocations: 67.39 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.9826, allocations: 0 / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002568/0.9829, allocations: 108.9 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.9829, allocations: 55.41 kB / 1.115 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.983, allocations: 109.8 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.9831, allocations: 30.39 kB / 1.115 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.9831, allocations: 84.33 kB / 1.115 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.9832, allocations: 24.58 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.9832, allocations: 0 / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9833, allocations: 323.4 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.9834, allocations: 14.5 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.9834, allocations: 54.42 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.9835, allocations: 22.52 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9835, allocations: 0 / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001419/0.9837, allocations: 93.47 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.9837, allocations: 4 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.9837, allocations: 4 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.9837, allocations: 0 / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.9838, allocations: 19.92 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9838, allocations: 0 / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.9839, allocations: 11.98 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.9839, allocations: 4.156 kB / 1.115 GB, free: 4.52 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.p,bli.p,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.0001118/0.984, allocations: 118.8 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001544/0.9842, allocations: 97.52 kB / 1.116 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.9842, allocations: 7.906 kB / 1.116 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.9843, allocations: 16.11 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.9843, allocations: 0 / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9843, allocations: 0 / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9843, allocations: 0 / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.9846, allocations: 347.1 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9847, allocations: 7.359 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.9847, allocations: 4 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9848, allocations: 0 / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.9848, allocations: 4 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9848, allocations: 3.938 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9848, allocations: 0 / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.9851, allocations: 195.4 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.9851, allocations: 89.02 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.9851, allocations: 3.984 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.9853, allocations: 4 kB / 1.116 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.9853, allocations: 12.02 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.9853, allocations: 0 / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.9854, allocations: 105.7 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9854, allocations: 0 / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002901/0.9857, allocations: 47.88 kB / 1.116 GB, free: 3.402 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.p,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.0008779/0.9866, allocations: 0.7984 MB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.9868, allocations: 55.92 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9868, allocations: 0 / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.9868, allocations: 25.64 kB / 1.117 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.9871, allocations: 14.89 kB / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.9875, allocations: 156.6 kB / 1.117 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.9879, allocations: 0.6962 MB / 1.118 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.988, allocations: 4.5 kB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.988, allocations: 23.42 kB / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.988, allocations: 0 / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/1.012, allocations: 2.259 MB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/1.012, allocations: 202.9 kB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.559, allocations: 1.031 kB / 1.12 GB, free: 15.09 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)