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.008269/0.008269, allocations: 102 kB / 15.73 MB, free: 6.062 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.001499/0.001499, allocations: 192 kB / 16.67 MB, free: 5.973 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.413/1.413, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.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.001543/0.001543, allocations: 67.91 kB / 0.7257 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6031, allocations: 104.7 MB / 0.828 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002088/0.6053, allocations: 1.229 MB / 0.8292 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0008593/0.6061, allocations: 441.6 kB / 0.8296 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.6062, allocations: 0 / 0.8296 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.853e-05/0.6062, allocations: 3.938 kB / 0.8296 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.6063, allocations: 0 / 0.8296 GB, free: 0.9219 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.6068, allocations: 115.6 kB / 0.8298 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.6069, allocations: 23.86 kB / 0.8298 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.607, allocations: 12 kB / 0.8298 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.607, allocations: 4 kB / 0.8298 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.607, allocations: 19.91 kB / 0.8298 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.6071, allocations: 3.938 kB / 0.8298 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.6073, allocations: 99.89 kB / 0.8299 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.6073, allocations: 4 kB / 0.8299 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.6074, allocations: 11.92 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.6076, allocations: 100.8 kB / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6076, allocations: 0 / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6076, allocations: 0 / 0.83 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6076, allocations: 7.938 kB / 0.83 GB, free: 0.5312 MB / 0.6231 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.0004576/0.6081, allocations: 392.4 kB / 0.8304 GB, free: 96 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6081, allocations: 8.031 kB / 0.8304 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.6081, allocations: 4.938 kB / 0.8304 GB, free: 84 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.6083, allocations: 164.4 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.6083, allocations: 4.375 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.6083, allocations: 4.375 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.6084, allocations: 34.25 kB / 0.8306 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6084, allocations: 192 / 0.8306 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.6085, allocations: 11.94 kB / 0.8306 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6085, allocations: 0 / 0.8306 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.6085, allocations: 11.92 kB / 0.8306 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.6087, allocations: 157.6 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.6087, allocations: 30.61 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.6088, allocations: 12.86 kB / 0.8308 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.6088, allocations: 0 / 0.8308 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.6089, allocations: 63.48 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.6089, allocations: 3.938 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.6091, allocations: 65.62 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.6092, allocations: 51.41 kB / 0.831 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.6093, allocations: 105.8 kB / 0.8311 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6093, allocations: 25.7 kB / 0.8311 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.6093, allocations: 92.14 kB / 0.8312 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.6094, allocations: 11.89 kB / 0.8312 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.6094, allocations: 17.72 kB / 0.8312 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6095, allocations: 322.8 kB / 0.8315 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.6095, allocations: 7.984 kB / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.6096, allocations: 35.62 kB / 0.8316 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.552e-05/0.6097, allocations: 51.55 kB / 0.8316 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.6097, allocations: 4 kB / 0.8316 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.6098, allocations: 73.55 kB / 0.8317 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6098, allocations: 7.938 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6098, allocations: 0 / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.6098, allocations: 4 kB / 0.8317 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.6099, allocations: 12.08 kB / 0.8317 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6099, allocations: 12.08 kB / 0.8317 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.6099, allocations: 3.938 kB / 0.8318 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.61, allocations: 4 kB / 0.8318 GB, free: 14.5 MB / 0.6387 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.898e-05/0.61, allocations: 118.8 kB / 0.8319 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.6101, allocations: 7.891 kB / 0.8319 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.6101, allocations: 3.906 kB / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6101, allocations: 0 / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6101, allocations: 4 kB / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6101, allocations: 4 kB / 0.8319 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.6102, allocations: 157.7 kB / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6102, allocations: 0 / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.6102, allocations: 0 / 0.832 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6103, allocations: 7.938 kB / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.6103, allocations: 0 / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6103, allocations: 0 / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6103, allocations: 0 / 0.832 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.6104, allocations: 85.11 kB / 0.8321 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.6105, allocations: 85.06 kB / 0.8322 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.6105, allocations: 3.938 kB / 0.8322 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.6105, allocations: 0 / 0.8322 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.6105, allocations: 15.92 kB / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.6105, allocations: 0 / 0.8322 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.6106, allocations: 79.28 kB / 0.8323 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6106, allocations: 0 / 0.8323 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002536/0.6109, allocations: 39.86 kB / 0.8323 GB, free: 13.8 MB / 0.6387 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.0003085/0.6112, allocations: 171.6 kB / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.6113, allocations: 31.92 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6113, allocations: 0 / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.6113, allocations: 12 kB / 0.8325 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.6115, allocations: 3.984 kB / 0.8326 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.6117, allocations: 117.1 kB / 0.8327 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.612, allocations: 0.6844 MB / 0.8333 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.612, allocations: 0 / 0.8333 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.612, allocations: 11.44 kB / 0.8333 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.612, allocations: 0 / 0.8333 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.003189/0.6152, allocations: 1.089 MB / 0.8344 GB, free: 11.64 MB / 0.6387 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)