Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001151/0.001152, allocations: 101.6 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.001191/0.001191, allocations: 191.7 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.563/1.563, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.812/1.812, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.00144/0.00144, allocations: 71.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002789/0.2618, allocations: 1.217 MB / 0.7852 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.2628, allocations: 455.3 kB / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.2628, allocations: 0 / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.2629, allocations: 0 / 0.7856 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.263, allocations: 7.938 kB / 0.7856 GB, free: 2.184 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/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.0007537/0.2637, allocations: 118.5 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.2638, allocations: 19.92 kB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.2638, allocations: 0 / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.2639, allocations: 8 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.2639, allocations: 11.92 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2639, allocations: 4 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.2642, allocations: 107.8 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2642, allocations: 0 / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2643, allocations: 15.92 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2645, allocations: 95.81 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2645, allocations: 3.938 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2645, allocations: 0 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2645, allocations: 0 / 0.786 GB, free: 1.809 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.0004984/0.265, allocations: 385.4 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2651, allocations: 8.031 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.2651, allocations: 0.9375 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2652, allocations: 176.3 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2653, allocations: 4.312 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2653, allocations: 12.38 kB / 0.7866 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2654, allocations: 34.25 kB / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2654, allocations: 192 / 0.7866 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2654, allocations: 3.938 kB / 0.7866 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2655, allocations: 0 / 0.7866 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.2655, allocations: 11.97 kB / 0.7866 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.2657, allocations: 157.7 kB / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.2658, allocations: 34.45 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.2658, allocations: 20.94 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.2658, allocations: 0 / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.266, allocations: 51.41 kB / 0.7869 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.266, allocations: 0 / 0.7869 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002123/0.2662, allocations: 73.61 kB / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.2663, allocations: 55.34 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.2664, allocations: 109.8 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2664, allocations: 25.7 kB / 0.7871 GB, free: 472 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.2665, allocations: 84.14 kB / 0.7872 GB, free: 384 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2665, allocations: 19.73 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.2666, allocations: 17.72 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2667, allocations: 318.8 kB / 0.7875 GB, free: 12 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.2667, allocations: 11.98 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4542/0.721, allocations: 28 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.7211, allocations: 48.53 kB / 0.7876 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7211, allocations: 0 / 0.7876 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001376/0.7213, allocations: 71.89 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7213, allocations: 6.469 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.7213, allocations: 3.125 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.7213, allocations: 0 / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.7214, allocations: 12.62 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.7215, allocations: 4.656 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.7215, allocations: 5.75 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.7215, allocations: 3.25 kB / 0.7877 GB, free: 48.54 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.91e-05/0.7216, allocations: 109.8 kB / 0.7878 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.7216, allocations: 8.438 kB / 0.7878 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.7217, allocations: 8.359 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7217, allocations: 1.125 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7217, allocations: 0.8438 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7217, allocations: 2.469 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.7218, allocations: 160.8 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.7218, allocations: 2.969 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.7218, allocations: 4.938 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.7218, allocations: 0 / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.7218, allocations: 2.75 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7218, allocations: 0 / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7218, allocations: 2.062 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.722, allocations: 91.31 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.722, allocations: 77.11 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.722, allocations: 6.188 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.45e-05/0.7221, allocations: 4.047 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.7221, allocations: 0.6562 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.7221, allocations: 6.219 kB / 0.7882 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.7221, allocations: 81.12 kB / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7221, allocations: 0 / 0.7883 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003281/0.7225, allocations: 44.11 kB / 0.7883 GB, free: 47.99 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.000359/0.7228, allocations: 168.7 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.723, allocations: 29.33 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.723, allocations: 5.375 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.723, allocations: 14.16 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.7232, allocations: 6.344 kB / 0.7885 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.7234, allocations: 134.8 kB / 0.7887 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.7236, allocations: 0.6815 MB / 0.7893 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.7236, allocations: 10.28 kB / 0.7893 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7236, allocations: 0 / 0.7893 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.003045/0.7267, allocations: 1.245 MB / 0.7906 GB, free: 47.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)