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.00147/0.00147, allocations: 110.7 kB / 16.37 MB, free: 6.016 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.00165/0.00165, allocations: 187.5 kB / 17.31 MB, free: 5.617 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.511/1.511, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.818/1.818, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001468/0.001468, allocations: 68.44 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2461, allocations: 114.5 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002543/0.2487, allocations: 1.236 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.2496, allocations: 447.3 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.2497, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.2497, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.2497, allocations: 3.938 kB / 0.7864 GB, free: 1.508 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.000658/0.2504, allocations: 115.6 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.2505, allocations: 19.92 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.2505, allocations: 0 / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.2506, allocations: 19.88 kB / 0.7866 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.2506, allocations: 7.922 kB / 0.7866 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2506, allocations: 4 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2509, allocations: 107.8 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2509, allocations: 3.984 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.2509, allocations: 11.94 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.2511, allocations: 99.8 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2512, allocations: 4 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2512, allocations: 0 / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2512, allocations: 0 / 0.7868 GB, free: 1.121 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.0005198/0.2517, allocations: 385.1 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2517, allocations: 8.031 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.2518, allocations: 0.9375 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.2519, allocations: 176.3 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.2519, allocations: 384 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.252, allocations: 4.375 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2521, allocations: 42.19 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2521, allocations: 192 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2521, allocations: 3.938 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2521, allocations: 4 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.2522, allocations: 7.984 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.2524, allocations: 165.6 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.2524, allocations: 26.58 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.2525, allocations: 16.94 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.2525, allocations: 0 / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.2527, allocations: 55.34 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2527, allocations: 0 / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4266/0.6793, allocations: 71.03 kB / 0.7877 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.6794, allocations: 52.72 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.6795, allocations: 105.6 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6795, allocations: 28.22 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.6795, allocations: 83.75 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.6796, allocations: 15.98 kB / 0.788 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.6796, allocations: 25.67 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.6797, allocations: 317.5 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.6797, allocations: 5.219 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.6797, allocations: 33.45 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.6798, allocations: 45.11 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6798, allocations: 2.75 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001132/0.6799, allocations: 70.83 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6799, allocations: 9 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.68, allocations: 0 / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.68, allocations: 3.281 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.6801, allocations: 12.41 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6801, allocations: 2.625 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.6801, allocations: 3.125 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6801, allocations: 2.625 kB / 0.7885 GB, free: 48.16 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 5.68e-05/0.6802, allocations: 116.6 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.6802, allocations: 9.734 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.6802, allocations: 11.47 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6803, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6803, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6803, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.6804, allocations: 154 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6804, allocations: 3.734 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.6804, allocations: 6.594 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6804, allocations: 2.625 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.6804, allocations: 6.562 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6804, allocations: 0 / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6804, allocations: 1.969 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.6805, allocations: 87.09 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.6806, allocations: 81.02 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.6806, allocations: 9.234 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.6806, allocations: 6.844 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.6807, allocations: 0 / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.6807, allocations: 3.344 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.6807, allocations: 84.56 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6807, allocations: 3 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002926/0.681, allocations: 32.23 kB / 0.7891 GB, free: 47.61 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.0003242/0.6813, allocations: 162.1 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.6814, allocations: 35.72 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6815, allocations: 0.9844 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.6815, allocations: 12.58 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.6816, allocations: 9.75 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.6819, allocations: 138.3 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.743e-05/0.682, allocations: 0.6799 MB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.682, allocations: 10.22 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.682, allocations: 0 / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002711/0.6847, allocations: 1.255 MB / 0.7913 GB, free: 46.64 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)