Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 179.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 82.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003645, allocations: 8.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.3634, allocations: 132 MB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3637, allocations: 75.95 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.006411/0.3701, allocations: 2.303 MB / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3701, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3701, allocations: 4 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003919/0.3705, allocations: 392.9 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3706, allocations: 8.031 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.3706, allocations: 42.45 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.3707, allocations: 3.953 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3708, allocations: 167 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3708, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3708, allocations: 8 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.3709, allocations: 42.34 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3709, allocations: 3.938 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.371, allocations: 8 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.371, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.371, allocations: 8 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.3713, allocations: 252.9 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.3714, allocations: 46.48 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.3714, allocations: 0 / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.3716, allocations: 59.48 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3716, allocations: 0 / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0001998/0.3718, allocations: 73.53 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3718, allocations: 59.36 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.3719, allocations: 96.98 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3719, allocations: 33.7 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.372, allocations: 84.14 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.372, allocations: 19.73 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.372, allocations: 0 / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3721, allocations: 314.8 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.3722, allocations: 8 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.3722, allocations: 35.42 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.3722, allocations: 16 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3722, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001279/0.3724, allocations: 73.55 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3724, allocations: 8 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3724, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3724, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/0.3725, allocations: 8 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3725, allocations: 0 / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.3725, allocations: 12.02 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3725, allocations: 11.98 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.674e-05/0.3726, allocations: 111.3 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.3726, allocations: 7.906 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.3727, allocations: 7.969 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3727, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3727, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3727, allocations: 0 / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.373, allocations: 302.6 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.373, allocations: 0.5625 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.373, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.373, allocations: 3.938 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.373, allocations: 4 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.373, allocations: 11.92 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.373, allocations: 160 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3732, allocations: 163.4 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.3732, allocations: 88.95 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3733, allocations: 4 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.3733, allocations: 5.734 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3734, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3734, allocations: 4 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.3734, allocations: 87.23 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3734, allocations: 0 / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003258/0.3737, allocations: 43.98 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006996/0.3745, allocations: 0.7895 MB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.3746, allocations: 27.94 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3746, allocations: 0 / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.3746, allocations: 24.42 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.3747, allocations: 3.938 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.3755, allocations: 0.821 MB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3757, allocations: 0.6848 MB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.3758, allocations: 7.984 kB / 1.036 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3758, allocations: 15.38 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/0.3758, allocations: 0 / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.3882, allocations: 2.026 MB / 1.038 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.3885, allocations: 231.8 kB / 1.038 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.899, allocations: 1.875 kB / 1.039 GB, free: 1.672 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)