Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.707/1.707, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.00104/0.00104, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.705/1.705, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.00116/0.00116, allocations: 92.2 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.228e-05, allocations: 0 / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7035, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.8993, allocations: 137.5 MB / 1.099 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.8995, allocations: 72.61 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.006227/0.9058, allocations: 2.272 MB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9058, allocations: 0 / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.9058, allocations: 11.94 kB / 1.101 GB, free: 15.89 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.0004103/0.9062, allocations: 393.4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9063, allocations: 8.531 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.9064, allocations: 8.938 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9065, allocations: 166.7 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.9065, allocations: 0.5 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.9065, allocations: 4 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.215e-05/0.9066, allocations: 4.719 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.563e-05/0.9067, allocations: 42.14 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.9067, allocations: 3.625 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9067, allocations: 0 / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.9067, allocations: 0.5625 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.9069, allocations: 139.2 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.9069, allocations: 29.98 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.907, allocations: 9.547 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.907, allocations: 0 / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.9071, allocations: 57 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9071, allocations: 5.156 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001585/0.9073, allocations: 57.53 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.9073, allocations: 56.16 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.9074, allocations: 99.92 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.9074, allocations: 26.2 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.9075, allocations: 88.73 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.9075, allocations: 5.375 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.9075, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9076, allocations: 314.8 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.9076, allocations: 12.73 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.9077, allocations: 32.03 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.9077, allocations: 5.406 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9077, allocations: 1.75 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.322e-05/0.9078, allocations: 65.58 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9078, allocations: 9.234 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9078, allocations: 4.531 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9079, allocations: 5.453 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.9079, allocations: 8.531 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9079, allocations: 5.219 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.908, allocations: 7.844 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.908, allocations: 4 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.042e-05/0.9081, allocations: 104 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.861e-05/0.9082, allocations: 69 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.9082, allocations: 0.9375 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.9082, allocations: 8.344 kB / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.9082, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9082, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9082, allocations: 0 / 1.103 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.9083, allocations: 142.1 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9083, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.9084, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.9084, allocations: 5.922 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.9084, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9084, allocations: 1.125 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9084, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.254e-05/0.9085, allocations: 82.83 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.9085, allocations: 89.14 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.9086, allocations: 0.6875 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.9086, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.9086, allocations: 7.938 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.9086, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.9087, allocations: 90.64 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9087, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002448/0.9089, 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.0006453/0.9096, allocations: 0.7163 MB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.9097, allocations: 27.92 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9097, allocations: 4.188 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.9097, allocations: 11.98 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.945e-05/0.9098, allocations: 5.797 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.9102, allocations: 123.9 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.9104, 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.9104, 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.192e-05/0.9105, allocations: 7.438 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9105, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.9317, allocations: 1.71 MB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/0.932, allocations: 185.6 kB / 1.107 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.466, allocations: 2.391 kB / 1.107 GB, free: 9.836 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)