Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007119/0.007119, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001207/0.001207, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.632/1.632, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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.001415/0.001415, allocations: 69.78 kB / 0.7257 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2073, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002139/0.2095, allocations: 1.218 MB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.2104, allocations: 451.7 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.2104, allocations: 4 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.2105, allocations: 7.938 kB / 0.8296 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.2105, allocations: 0 / 0.8296 GB, free: 14.52 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.000614/0.2112, allocations: 111.6 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.2112, allocations: 23.97 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.2113, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.2113, allocations: 11.92 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.2114, allocations: 11.94 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2114, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.2116, allocations: 103.8 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.2116, allocations: 15.98 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2116, allocations: 11.88 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.2118, allocations: 99.8 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2118, allocations: 0 / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2118, allocations: 0 / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2119, allocations: 0 / 0.83 GB, free: 14.14 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.0004831/0.2123, allocations: 381.1 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2124, allocations: 12.03 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.2124, allocations: 4.844 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2125, allocations: 176.3 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2126, allocations: 384 / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.2126, allocations: 384 / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2127, allocations: 46.23 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2127, allocations: 192 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2127, allocations: 3.938 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2127, allocations: 0 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.2128, allocations: 4 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.213, allocations: 161.6 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.2131, allocations: 38.55 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.2131, allocations: 16.86 kB / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.2132, allocations: 0 / 0.8308 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.2133, allocations: 55.48 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2133, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.2135, allocations: 81.45 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2136, allocations: 55.41 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.2137, allocations: 105.8 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2137, allocations: 29.7 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.2137, allocations: 84.14 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.2138, allocations: 3.906 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.2138, allocations: 21.72 kB / 0.8312 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2139, allocations: 318.8 kB / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.2139, allocations: 8 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.214, allocations: 35.42 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.2141, allocations: 43.38 kB / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2141, allocations: 0 / 0.8316 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.998e-05/0.2142, allocations: 73.53 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2142, allocations: 15.92 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2142, allocations: 240 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2142, allocations: 0 / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.2143, allocations: 11.94 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2143, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.2143, allocations: 4 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2143, allocations: 3.984 kB / 0.8317 GB, free: 12.12 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 7.822e-05/0.2144, allocations: 123.6 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.2144, allocations: 7.875 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.2145, allocations: 11.89 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2145, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2145, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2145, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.2146, allocations: 153.7 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2146, allocations: 0 / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.2146, allocations: 4 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2147, allocations: 7.875 kB / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2147, allocations: 0 / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2147, allocations: 7.984 kB / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2147, allocations: 0 / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2148, allocations: 85.03 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2149, allocations: 77.11 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.2149, allocations: 11.92 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.2149, allocations: 256 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.2149, allocations: 0 / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2149, allocations: 8 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.215, allocations: 91.27 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.215, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002387/0.2153, allocations: 39.94 kB / 0.8323 GB, free: 11.41 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.000343/0.2156, allocations: 151.3 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2157, allocations: 31.97 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2158, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.2158, allocations: 24 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.216, allocations: 4 kB / 0.8325 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.2162, allocations: 120.8 kB / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2165, allocations: 0.6844 MB / 0.8333 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.2166, allocations: 4 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2166, allocations: 11.61 kB / 0.8333 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.2166, allocations: 4 kB / 0.8333 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.003575/0.2202, allocations: 1.094 MB / 0.8344 GB, free: 9.234 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)