Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001538/0.001538, allocations: 101.9 kB / 16.27 MB, free: 6.418 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.002241/0.002241, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.596/1.596, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.152/2.152, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001425/0.001425, allocations: 75.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2701, allocations: 114.5 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.0026/0.2728, allocations: 1.225 MB / 0.7852 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000905/0.2737, allocations: 455.2 kB / 0.7856 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.2738, allocations: 4 kB / 0.7856 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.2738, allocations: 0 / 0.7856 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.2738, allocations: 3.938 kB / 0.7856 GB, free: 2.156 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/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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0005873/0.2744, allocations: 111.6 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.2745, allocations: 19.92 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.2746, allocations: 4 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.2746, allocations: 15.92 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.2746, allocations: 4 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.2746, allocations: 0 / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.2749, allocations: 115.8 kB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.2749, allocations: 7.922 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.2749, allocations: 11.94 kB / 0.7859 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2751, allocations: 95.8 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2752, allocations: 0 / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2752, allocations: 0 / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.2752, allocations: 4 kB / 0.786 GB, free: 1.773 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.0005388/0.2757, allocations: 385.4 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2758, allocations: 12.03 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2758, allocations: 0.9375 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.276, allocations: 168.3 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.276, allocations: 384 / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.276, allocations: 4.375 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.2761, allocations: 38.23 kB / 0.7866 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2761, allocations: 4.125 kB / 0.7866 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2762, allocations: 11.94 kB / 0.7866 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2762, allocations: 0 / 0.7866 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.17e-05/0.2762, allocations: 7.984 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.2764, allocations: 153.7 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.2765, allocations: 30.61 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.2765, allocations: 12.86 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2765, allocations: 0 / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.2767, allocations: 67.36 kB / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2767, allocations: 3.938 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.2769, allocations: 69.61 kB / 0.7869 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.277, allocations: 55.41 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.2771, allocations: 109.8 kB / 0.7871 GB, free: 472 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2771, allocations: 29.7 kB / 0.7871 GB, free: 436 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2772, allocations: 84.14 kB / 0.7872 GB, free: 348 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.2772, allocations: 15.75 kB / 0.7872 GB, free: 332 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.2772, allocations: 21.72 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3532/0.6304, allocations: 314.8 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.6305, allocations: 5.188 kB / 0.7876 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.6306, allocations: 32.34 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.6307, allocations: 50.36 kB / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6307, allocations: 0 / 0.7876 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/0.6308, allocations: 69.7 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6308, allocations: 6.938 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.6308, allocations: 0 / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.6309, allocations: 3.062 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.631, allocations: 9.047 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.631, allocations: 3.75 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.631, allocations: 5.438 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.631, allocations: 7.797 kB / 0.7877 GB, free: 48.39 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 6.306e-05/0.6311, allocations: 109.8 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.6311, allocations: 5.312 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.6312, allocations: 11.5 kB / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6312, allocations: 2.656 kB / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6312, allocations: 3.938 kB / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6312, allocations: 0 / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.262e-05/0.6313, allocations: 158.8 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6313, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.6313, allocations: 4.969 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.6313, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.6313, allocations: 1 kB / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6313, allocations: 0 / 0.788 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.6313, allocations: 11.12 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.6315, allocations: 86.41 kB / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.6315, allocations: 81.31 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.6315, allocations: 0.5938 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/0.6315, allocations: 3.688 kB / 0.7882 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.6316, allocations: 3.938 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.6316, allocations: 6.875 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.6316, allocations: 87.28 kB / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6316, allocations: 6.5 kB / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003295/0.632, allocations: 36.64 kB / 0.7883 GB, free: 47.84 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.0003042/0.6323, allocations: 154.2 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.6324, allocations: 27.03 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6324, allocations: 0 / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.6324, allocations: 19.14 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.6326, allocations: 13.78 kB / 0.7885 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.6328, allocations: 133.2 kB / 0.7887 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.195e-05/0.6329, allocations: 0.6784 MB / 0.7893 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.633, allocations: 10.84 kB / 0.7893 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.633, allocations: 1.625 kB / 0.7893 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002634/0.6356, allocations: 1.25 MB / 0.7906 GB, free: 46.87 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)