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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 193.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 251.7 MB / 0.5089 GB, free: 3.352 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.91 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5397, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002245/0.542, allocations: 1.295 MB / 0.7252 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.5428, allocations: 454.1 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.5429, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.5429, allocations: 0 / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.543, allocations: 4 kB / 0.7257 GB, free: 11.36 MB / 0.545 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 NFTyping.typeClassSections: time 0.0005266/0.5435, allocations: 91.78 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.5436, allocations: 23.92 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.5436, allocations: 3.984 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.5436, allocations: 11.94 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.5437, allocations: 11.92 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.5437, allocations: 0 / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.5439, allocations: 107.8 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.5439, allocations: 4 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.5439, allocations: 19.92 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.5441, allocations: 95.81 kB / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5441, allocations: 0 / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.614e-06/0.5441, allocations: 0 / 0.726 GB, free: 11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5441, allocations: 0 / 0.726 GB, free: 11 MB / 0.545 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.0004487/0.5446, allocations: 383 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5446, allocations: 12.03 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.5447, allocations: 0.9375 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5448, allocations: 176.3 kB / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.5448, allocations: 8.312 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.5448, allocations: 4.375 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.5449, allocations: 38.19 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.545, allocations: 192 / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.545, allocations: 7.922 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.545, allocations: 0 / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.545, allocations: 11.98 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.5452, allocations: 153.7 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.294e-05/0.5453, allocations: 34.61 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.5453, allocations: 16.8 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.5453, allocations: 0 / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.5455, allocations: 59.39 kB / 0.7269 GB, free: 9.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5455, allocations: 0 / 0.7269 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.5457, allocations: 65.62 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5457, allocations: 59.41 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.5459, allocations: 109.8 kB / 0.7271 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.5459, allocations: 33.64 kB / 0.7271 GB, free: 9.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.5459, allocations: 88.11 kB / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.5459, allocations: 7.906 kB / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.546, allocations: 21.72 kB / 0.7273 GB, free: 9.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5461, allocations: 314.8 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.5461, allocations: 4 kB / 0.7276 GB, free: 9.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.5462, allocations: 35.44 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.5462, allocations: 47.36 kB / 0.7276 GB, free: 9.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5462, allocations: 4 kB / 0.7276 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.98e-05/0.5463, allocations: 69.59 kB / 0.7277 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5463, allocations: 11.94 kB / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5463, allocations: 0 / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.5464, allocations: 0 / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.5464, allocations: 15.92 kB / 0.7277 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5464, allocations: 0 / 0.7277 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.5465, allocations: 4.25 kB / 0.7277 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5465, allocations: 4 kB / 0.7277 GB, free: 8.98 MB / 0.545 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.5466, allocations: 117.8 kB / 0.7279 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.5466, allocations: 3.969 kB / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.5466, allocations: 15.84 kB / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5466, allocations: 0 / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5466, allocations: 0 / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5466, allocations: 0 / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.5467, allocations: 161.6 kB / 0.728 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5467, allocations: 0 / 0.728 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.5468, allocations: 4 kB / 0.728 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5468, allocations: 3.938 kB / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5468, allocations: 240 / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5468, allocations: 0 / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5468, allocations: 8 kB / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.547, allocations: 93.03 kB / 0.7281 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.547, allocations: 77.11 kB / 0.7282 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.5471, allocations: 7.938 kB / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.5471, allocations: 0 / 0.7282 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.5471, allocations: 3.984 kB / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5471, allocations: 4 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.698e-05/0.5472, allocations: 87.28 kB / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5472, allocations: 0 / 0.7283 GB, free: 8.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.5474, allocations: 31.98 kB / 0.7283 GB, free: 8.27 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.5477, allocations: 167 kB / 0.7285 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.5478, allocations: 27.92 kB / 0.7285 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5479, allocations: 4.188 kB / 0.7285 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.5479, allocations: 16 kB / 0.7285 GB, free: 8.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.548, allocations: 3.984 kB / 0.7286 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.5482, allocations: 124.6 kB / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5485, allocations: 0.6768 MB / 0.7293 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.5486, allocations: 7.938 kB / 0.7293 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.5486, allocations: 11.44 kB / 0.7293 GB, free: 7.191 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5486, allocations: 0 / 0.7293 GB, free: 7.191 MB / 0.545 GB Notification: Performance of Templates: time 0.003041/0.5516, allocations: 1.101 MB / 0.7304 GB, free: 6.09 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)