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.001499/0.0015, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.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.874/1.874, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002412/0.002412, allocations: 73.03 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2384, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.00239/0.2408, allocations: 1.225 MB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.2417, allocations: 451.3 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.2418, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.2418, allocations: 3.938 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.14e-05/0.2418, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 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.0005637/0.2424, allocations: 119.5 kB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.2425, allocations: 12 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.2425, allocations: 11.97 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.2426, allocations: 7.938 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.2426, allocations: 11.98 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2426, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.2428, allocations: 111.8 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.2428, allocations: 4 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.2429, allocations: 7.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2431, allocations: 103.8 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2431, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2431, allocations: 4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2431, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 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.000475/0.2436, allocations: 383.5 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2436, allocations: 8.031 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.2437, allocations: 12.88 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2438, allocations: 168.2 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2438, allocations: 8.359 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.2438, allocations: 384 / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.2439, allocations: 42.25 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2439, allocations: 192 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.244, allocations: 3.938 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.244, allocations: 0 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.244, allocations: 4 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2442, allocations: 161.7 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.2443, allocations: 30.52 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.2443, allocations: 20.88 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.2443, allocations: 0 / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.2444, allocations: 55.41 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2445, allocations: 4 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.2447, allocations: 73.55 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2447, allocations: 55.39 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2448, allocations: 109.8 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2448, allocations: 25.7 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.2449, allocations: 88.14 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2449, allocations: 7.844 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2449, allocations: 21.7 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.245, allocations: 322.8 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.2451, allocations: 7.984 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.2451, allocations: 31.44 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.2452, allocations: 43.56 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2452, allocations: 4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.789e-05/0.2453, allocations: 73.59 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2453, allocations: 7.938 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2453, allocations: 4 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2453, allocations: 3.938 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.2454, allocations: 8.25 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2454, allocations: 0 / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.2455, allocations: 7.906 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.2455, allocations: 4 kB / 0.7878 GB, free: 8.699 MB / 0.6075 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 7.396e-05/0.2456, allocations: 122.6 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.2456, allocations: 3.938 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.2456, allocations: 3.906 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2456, allocations: 4 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2456, allocations: 0 / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2456, allocations: 0 / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2457, allocations: 153.7 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2458, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.2458, allocations: 15.86 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2458, allocations: 7.938 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2458, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2458, allocations: 3.938 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2458, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2459, allocations: 85.11 kB / 0.7882 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.246, allocations: 81.02 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.246, allocations: 3.938 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.246, allocations: 0 / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.2461, allocations: 12 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2461, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.2461, allocations: 83.27 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2461, allocations: 0 / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002481/0.2464, allocations: 32 kB / 0.7884 GB, free: 7.996 MB / 0.6075 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.0003015/0.2467, allocations: 166.8 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.2468, allocations: 31.92 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2468, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.2469, allocations: 15.94 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.247, allocations: 6.75 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.2472, allocations: 116.9 kB / 0.7888 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.2475, allocations: 0.6768 MB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.2475, allocations: 12.38 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.2475, allocations: 7.438 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2475, allocations: 0 / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of Templates: time 0.003221/0.2508, allocations: 1.09 MB / 0.7905 GB, free: 5.836 MB / 0.6075 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)