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/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.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001324, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 197.6 kB / 16.54 MB, free: 6.684 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.541/1.541, allocations: 205.1 MB / 222.4 MB, free: 4.641 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.615/1.615, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001584/0.001585, allocations: 63.91 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5318, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002584/0.5345, allocations: 1.222 MB / 0.7257 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.5355, allocations: 454.1 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.5355, allocations: 0 / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.5355, allocations: 3.938 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.5356, allocations: 4 kB / 0.7261 GB, free: 11.23 MB / 0.545 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/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.5362, allocations: 111.6 kB / 0.7262 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.5363, allocations: 19.98 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.5364, allocations: 0 / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.5364, allocations: 15.94 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.5365, allocations: 11.92 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.5365, allocations: 0 / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.5367, allocations: 111.8 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.5367, allocations: 4 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.5368, allocations: 11.94 kB / 0.7264 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.537, allocations: 99.8 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.537, allocations: 0 / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.539e-06/0.537, allocations: 0 / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.537, allocations: 3.938 kB / 0.7265 GB, free: 10.85 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.0005725/0.5376, allocations: 391 kB / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5376, allocations: 12.03 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.5377, allocations: 0.9375 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.5378, allocations: 168.3 kB / 0.7271 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.5379, allocations: 8.375 kB / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5379, allocations: 4.312 kB / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.538, allocations: 38.25 kB / 0.7271 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.538, allocations: 192 / 0.7271 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.538, allocations: 3.938 kB / 0.7271 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.538, allocations: 4 kB / 0.7271 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.5381, allocations: 11.92 kB / 0.7271 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.5383, allocations: 157.7 kB / 0.7273 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.5384, allocations: 30.52 kB / 0.7273 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.5384, allocations: 12.94 kB / 0.7273 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.5384, allocations: 4 kB / 0.7273 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.5386, allocations: 63.31 kB / 0.7274 GB, free: 9.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5386, allocations: 0 / 0.7274 GB, free: 9.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0002363/0.5388, allocations: 73.55 kB / 0.7275 GB, free: 9.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5389, allocations: 51.41 kB / 0.7275 GB, free: 9.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.539, allocations: 105.8 kB / 0.7276 GB, free: 9.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.539, allocations: 29.7 kB / 0.7276 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.5391, allocations: 84.14 kB / 0.7277 GB, free: 9.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.5391, allocations: 7.891 kB / 0.7277 GB, free: 9.406 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.5391, allocations: 25.72 kB / 0.7277 GB, free: 9.375 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5392, allocations: 314.8 kB / 0.728 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.5393, allocations: 7.984 kB / 0.7281 GB, free: 9.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.5393, allocations: 31.44 kB / 0.7281 GB, free: 9.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.5394, allocations: 51.36 kB / 0.7281 GB, free: 8.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5394, allocations: 0 / 0.7281 GB, free: 8.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.835e-05/0.5395, allocations: 73.66 kB / 0.7282 GB, free: 8.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5395, allocations: 7.938 kB / 0.7282 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5395, allocations: 4.047 kB / 0.7282 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5395, allocations: 3.984 kB / 0.7282 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.5396, allocations: 8 kB / 0.7282 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5396, allocations: 3.984 kB / 0.7282 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.5397, allocations: 4.094 kB / 0.7282 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5397, allocations: 4 kB / 0.7282 GB, free: 8.832 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 9.319e-05/0.5398, allocations: 117.8 kB / 0.7284 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.5398, allocations: 3.938 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.5398, allocations: 7.906 kB / 0.7284 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5398, allocations: 3.938 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5398, allocations: 0 / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5398, allocations: 0 / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.54, allocations: 165.5 kB / 0.7285 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.54, allocations: 7.938 kB / 0.7285 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/0.54, allocations: 4 kB / 0.7285 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.54, allocations: 3.938 kB / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.54, allocations: 0 / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.54, allocations: 0 / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.54, allocations: 0 / 0.7285 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.5402, allocations: 85.11 kB / 0.7286 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.5402, allocations: 81.11 kB / 0.7287 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.5403, allocations: 12.12 kB / 0.7287 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.5403, allocations: 4 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.5403, allocations: 4 kB / 0.7287 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5403, allocations: 3.984 kB / 0.7287 GB, free: 8.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.5404, allocations: 79.28 kB / 0.7288 GB, free: 8.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5404, allocations: 4 kB / 0.7288 GB, free: 8.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002483/0.5406, allocations: 31.98 kB / 0.7288 GB, free: 8.121 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.0003682/0.541, allocations: 170.4 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.5411, allocations: 28.02 kB / 0.729 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5412, allocations: 0 / 0.729 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.5412, allocations: 11.94 kB / 0.729 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5413, allocations: 10.5 kB / 0.729 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.5416, allocations: 128.9 kB / 0.7292 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5419, allocations: 0.6768 MB / 0.7298 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.5419, allocations: 4 kB / 0.7298 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.542, allocations: 11.38 kB / 0.7298 GB, free: 7.043 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.542, allocations: 0 / 0.7298 GB, free: 7.043 MB / 0.545 GB Notification: Performance of Templates: time 0.003705/0.5457, allocations: 1.085 MB / 0.7309 GB, free: 5.957 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)