Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009828/0.009828, allocations: 102 kB / 15.73 MB, free: 6.438 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.002053/0.002053, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.465/1.465, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.685/1.685, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001421/0.001421, allocations: 69.78 kB / 0.7257 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002748/0.2531, allocations: 1.203 MB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.254, allocations: 407.9 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.2541, allocations: 3.938 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2541, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.2542, allocations: 3.984 kB / 0.8296 GB, free: 14.59 MB / 0.6544 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/weibullVariableGeneration.mo:2:1-37:30:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibullVariableGeneration' 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/weibullVariableGeneration.mo:12:5-12:98: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.0007061/0.2549, allocations: 107.6 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.255, allocations: 8 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.2551, allocations: 7.984 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.2551, allocations: 15.92 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.2551, allocations: 11.98 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2551, allocations: 0 / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2554, allocations: 91.84 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.2554, allocations: 0 / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.2554, allocations: 15.94 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2557, allocations: 83.81 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2557, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2557, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2557, allocations: 0 / 0.8299 GB, free: 14.25 MB / 0.6544 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.0005404/0.2562, allocations: 359.3 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2563, allocations: 8.031 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.2563, allocations: 4.938 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2565, allocations: 164.4 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2565, allocations: 384 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2565, allocations: 4.375 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.2566, allocations: 38.25 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2566, allocations: 192 / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2567, allocations: 3.938 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2567, allocations: 4 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.2567, allocations: 7.984 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.2569, allocations: 161.6 kB / 0.8306 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.257, allocations: 30.52 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.2571, allocations: 16.94 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2571, allocations: 0 / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.2573, allocations: 59.41 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.2573, allocations: 3.938 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.2575, allocations: 73.55 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.2576, allocations: 55.41 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.2577, allocations: 97.84 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2577, allocations: 29.7 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2577, allocations: 84.14 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2578, allocations: 3.906 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.2578, allocations: 25.72 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.258, allocations: 318.8 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.258, allocations: 4 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.258, allocations: 35.42 kB / 0.8314 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.2581, allocations: 51.31 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2581, allocations: 0 / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001188/0.2583, allocations: 69.53 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2583, allocations: 11.88 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2583, allocations: 4 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2583, allocations: 0 / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.2584, allocations: 11.98 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2584, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.2585, allocations: 4.031 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2585, allocations: 8 kB / 0.8316 GB, free: 12.28 MB / 0.6544 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 0.0001019/0.2586, allocations: 113.8 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.2586, allocations: 3.938 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.2586, allocations: 3.5 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2587, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2587, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2587, allocations: 7.984 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2588, allocations: 157.7 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2588, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.2589, allocations: 8.359 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2589, allocations: 3.938 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2589, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2589, allocations: 4 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2589, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.259, allocations: 89 kB / 0.832 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2591, allocations: 81.05 kB / 0.832 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2591, allocations: 7.938 kB / 0.832 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/0.2591, allocations: 8 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2592, allocations: 0 / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.2592, allocations: 7.984 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.2592, allocations: 75.28 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2592, allocations: 0 / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002715/0.2595, allocations: 28 kB / 0.8322 GB, free: 11.59 MB / 0.6544 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.0004047/0.2599, allocations: 167.7 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2601, allocations: 27.98 kB / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2601, allocations: 0 / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-05/0.2601, allocations: 19.92 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.2603, allocations: 2.406 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.2606, allocations: 97.06 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2609, allocations: 0.6885 MB / 0.8331 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2609, allocations: 4 kB / 0.8331 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.2609, allocations: 11.44 kB / 0.8331 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2609, allocations: 0 / 0.8331 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.003692/0.2646, allocations: 1.014 MB / 0.8341 GB, free: 9.527 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)