Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001214/0.001215, allocations: 180.9 kB / 361.4 MB, free: 6.867 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.73/1.73, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008433/0.0008432, allocations: 91.06 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 0 / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7014, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.891, allocations: 137.5 MB / 1.099 GB, free: 2.195 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.8913, allocations: 70.2 kB / 1.099 GB, free: 2.129 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.006439/0.8977, allocations: 2.277 MB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8977, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8978, allocations: 0.6875 kB / 1.101 GB, free: 15.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004325/0.8982, allocations: 394.5 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8982, allocations: 12.03 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.8983, allocations: 7.844 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8984, allocations: 173.2 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.8984, allocations: 0 / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.8985, allocations: 4 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.356e-05/0.8985, allocations: 5.203 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.919e-05/0.8986, allocations: 41.69 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8986, allocations: 5.062 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.8986, allocations: 0 / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8986, allocations: 0 / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.8988, allocations: 134.7 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.8989, allocations: 31.39 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.8989, allocations: 16.98 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.8989, allocations: 0 / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.899, allocations: 49.03 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.899, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.8992, allocations: 67.58 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8992, allocations: 52.09 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.8993, allocations: 101.8 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.8994, allocations: 25.7 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.8994, allocations: 80.83 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.8994, allocations: 11.91 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.8995, allocations: 4.812 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8996, allocations: 315.6 kB / 1.103 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.8996, allocations: 8 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.8996, allocations: 28.97 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.8997, allocations: 8.719 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.8997, allocations: 0.6562 kB / 1.103 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.611e-05/0.8998, allocations: 66.69 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8998, allocations: 8.781 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8998, allocations: 0.75 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8998, allocations: 0 / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.8999, allocations: 13.69 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8999, allocations: 0.6875 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.9, allocations: 11.84 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.9, allocations: 0.625 kB / 1.103 GB, free: 14.06 MB / 0.7136 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.844e-05/0.9001, allocations: 106.4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.932e-05/0.9002, allocations: 69.59 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.9002, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.9002, allocations: 12.03 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.9002, allocations: 4 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9002, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9002, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.9003, allocations: 138.1 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9004, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.9004, allocations: 7.078 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.9004, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9004, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9004, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9004, allocations: 0.9688 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.9005, allocations: 85 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.9006, allocations: 85.06 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.9006, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.9006, allocations: 0 / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.9007, allocations: 4.094 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9007, allocations: 7.938 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.9007, allocations: 87.27 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.503e-06/0.9007, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002529/0.901, allocations: 39.94 kB / 1.103 GB, free: 13.35 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0006499/0.9016, allocations: 0.7197 MB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.9017, allocations: 23.94 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9017, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.9018, allocations: 12 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.9019, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.9022, allocations: 132 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.9025, allocations: 0.6846 MB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.9025, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.9026, allocations: 7.438 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9026, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.9226, allocations: 1.713 MB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.9229, allocations: 192.1 kB / 1.107 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.409, allocations: 0 / 1.107 GB, free: 9.836 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)