Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001644/0.001644, allocations: 109.9 kB / 16.38 MB, free: 6.477 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.001743/0.001744, allocations: 186.7 kB / 17.31 MB, free: 5.812 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.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.001391/0.001391, allocations: 67.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2005, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002724/0.2033, allocations: 1.221 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.2042, allocations: 411.5 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2043, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.2043, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.2044, allocations: 7.938 kB / 0.7864 GB, free: 1.539 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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0006716/0.2051, allocations: 95.69 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.834e-05/0.2052, allocations: 19.94 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.2052, allocations: 0 / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.2052, allocations: 7.984 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.2053, allocations: 11.94 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2053, allocations: 0 / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2055, allocations: 99.83 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.2055, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2056, allocations: 15.92 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2058, allocations: 75.83 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.2058, allocations: 0 / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2058, allocations: 7.938 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2058, allocations: 4 kB / 0.7867 GB, free: 1.207 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.000429/0.2062, allocations: 339.6 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2063, allocations: 8.031 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2063, allocations: 12.84 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2065, allocations: 164.3 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2065, allocations: 4.359 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2065, allocations: 4.375 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.2066, allocations: 38.19 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2066, allocations: 4.188 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2066, allocations: 3.938 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2066, allocations: 4 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.2067, allocations: 4 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.2068, allocations: 153.7 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.2069, allocations: 30.61 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.2069, allocations: 12.86 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.207, allocations: 7.984 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.2071, allocations: 59.42 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.2071, allocations: 0 / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.2073, allocations: 69.61 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2073, allocations: 51.41 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3169/0.5242, allocations: 97.86 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5242, allocations: 26.67 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.5243, allocations: 85.62 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5243, allocations: 8.859 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.5243, allocations: 27.25 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.5244, allocations: 313.4 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.5244, allocations: 6.75 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.5244, allocations: 39.62 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.5245, allocations: 47.33 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5245, allocations: 3 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.5246, allocations: 70.03 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5246, allocations: 6.094 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5246, allocations: 7.406 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5247, allocations: 0 / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.5247, allocations: 6.094 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5248, allocations: 7.188 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.5248, allocations: 2.312 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5248, allocations: 2.562 kB / 0.7883 GB, free: 48.34 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 4.975e-05/0.5249, allocations: 115.9 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.5249, allocations: 7.875 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.5249, allocations: 5.438 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5249, allocations: 3.938 kB / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5249, allocations: 0 / 0.7885 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.525, allocations: 87.45 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.525, allocations: 0.75 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.525, allocations: 0.5938 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.525, allocations: 4.688 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.319e-05/0.5251, allocations: 137.7 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001003/0.5252, allocations: 235.8 kB / 0.7889 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.561e-05/0.5253, allocations: 12.09 kB / 0.7889 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.5253, allocations: 85.83 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of Backend: time 4.41e-07/0.5253, allocations: 0.875 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.5259, allocations: 159.1 kB / 0.7892 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002154/0.5261, allocations: 0.5415 MB / 0.7897 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.002965/0.5291, allocations: 1.034 MB / 0.7907 GB, free: 47.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)