Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.00155/0.00155, allocations: 172.7 kB / 326.5 MB, free: 2.285 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.668/1.668, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008633/0.0008634, allocations: 86.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003183, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2625, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4488, allocations: 132 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.4492, allocations: 79.94 kB / 1.029 GB, free: 11.66 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.007422/0.4566, allocations: 2.311 MB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.908e-06/0.4566, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.4567, allocations: 0 / 1.031 GB, free: 9.34 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.0007042/0.4574, allocations: 396.9 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.67e-05/0.4575, allocations: 12.03 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.4576, allocations: 34.47 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4576, allocations: 3.953 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4579, allocations: 167 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.4579, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.458, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4581, allocations: 38.34 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4582, allocations: 4 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4582, allocations: 8 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.4582, allocations: 0 / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.4582, allocations: 8 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.4587, allocations: 248.9 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.4588, allocations: 42.44 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.4589, allocations: 4 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.459, allocations: 59.48 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.459, allocations: 0 / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002801/0.4593, allocations: 73.53 kB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.4594, allocations: 63.34 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.4595, allocations: 93 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4595, allocations: 37.7 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.4596, allocations: 80.14 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.4596, allocations: 19.73 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.4596, allocations: 0 / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4598, allocations: 314.8 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.4598, allocations: 11.98 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.5e-05/0.4599, allocations: 31.44 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.4599, allocations: 16 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4599, allocations: 0 / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.4601, allocations: 73.55 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4601, allocations: 8 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4601, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4601, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.4602, allocations: 11.98 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4602, allocations: 4 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.4602, allocations: 8.016 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.4603, allocations: 8 kB / 1.033 GB, free: 7.25 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 0.000101/0.4604, allocations: 115.3 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.4604, allocations: 8 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/0.4604, allocations: 11.95 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4604, allocations: 0 / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4605, allocations: 0 / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.4605, allocations: 4 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.4608, allocations: 298.6 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.4608, allocations: 4.562 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.4608, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4609, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4609, allocations: 7.984 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.4609, allocations: 4 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4609, allocations: 3.938 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.4611, allocations: 163.4 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.4611, allocations: 92.94 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4612, allocations: 4 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.4612, allocations: 1.75 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.4613, allocations: 0 / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4613, allocations: 8 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.4613, allocations: 87.22 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4613, allocations: 0 / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003352/0.4617, allocations: 40 kB / 1.034 GB, free: 6.316 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.0009186/0.4626, allocations: 0.7898 MB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.4627, allocations: 31.92 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4628, allocations: 0 / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.4628, allocations: 20.44 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.463, allocations: 3.938 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.4639, allocations: 0.8172 MB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4643, allocations: 0.6895 MB / 1.036 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.4643, allocations: 4 kB / 1.036 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4643, allocations: 15.38 kB / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of SimCode: time 5.49e-06/0.4643, allocations: 0 / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.4794, allocations: 2.035 MB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.4796, allocations: 238.2 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.256, allocations: 1.969 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)