Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01038/0.01038, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.002449/0.002449, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.572/1.572, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001444/0.001444, allocations: 71.89 kB / 0.7257 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.203, allocations: 104.7 MB / 0.828 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002512/0.2055, allocations: 1.225 MB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.2064, allocations: 455.7 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2065, allocations: 0 / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2065, allocations: 0 / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.2066, allocations: 3.938 kB / 0.8296 GB, free: 14.53 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/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.0005448/0.2071, allocations: 115.5 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.2072, allocations: 19.97 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.2072, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.2073, allocations: 15.92 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.2073, allocations: 7.938 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2073, allocations: 8 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2075, allocations: 103.8 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2075, allocations: 7.984 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.2076, allocations: 7.938 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2077, allocations: 99.8 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2077, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2078, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.2078, allocations: 0 / 0.83 GB, free: 14.15 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.0004605/0.2082, allocations: 387.7 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2083, allocations: 15.97 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.2083, allocations: 4.844 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2085, allocations: 168.3 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2085, allocations: 384 / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2085, allocations: 4.375 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2086, allocations: 42.23 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2087, allocations: 4.172 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2087, allocations: 3.938 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2087, allocations: 0 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.2087, allocations: 4 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.2089, allocations: 165.6 kB / 0.8308 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.209, allocations: 38.55 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.2091, allocations: 12.86 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2091, allocations: 0 / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.2093, allocations: 55.48 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2093, allocations: 4 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.2095, allocations: 81.45 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.2096, allocations: 51.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.2097, allocations: 109.8 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2097, allocations: 25.7 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.2097, allocations: 84.14 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2098, allocations: 7.906 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2098, allocations: 17.72 kB / 0.8312 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.21, allocations: 322.8 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.21, allocations: 8 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.21, allocations: 31.42 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.2101, allocations: 51.38 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2101, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.959e-05/0.2102, allocations: 69.47 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2102, allocations: 10.75 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2103, allocations: 0 / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2103, allocations: 7.984 kB / 0.8317 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.2104, allocations: 11.94 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2104, allocations: 4 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.2104, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2104, allocations: 12.03 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.315e-05/0.2105, allocations: 109.8 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.2105, allocations: 7.938 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.2105, allocations: 7.891 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2105, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2105, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2106, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2107, allocations: 157.9 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2107, allocations: 0 / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.2107, allocations: 0 / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2107, allocations: 7.938 kB / 0.832 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2107, allocations: 7.984 kB / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2107, allocations: 0 / 0.832 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2107, allocations: 3.938 kB / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2108, allocations: 85.02 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.2109, allocations: 81.11 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2109, allocations: 7.922 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.2109, allocations: 0 / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.211, allocations: 4 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.211, allocations: 4.25 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.211, allocations: 91.27 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.211, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002387/0.2113, 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.0002954/0.2116, allocations: 159.7 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2117, allocations: 31.92 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2117, allocations: 0 / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.2117, allocations: 19.92 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.0001256/0.2119, allocations: 6.594 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.0002202/0.2121, 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.0002089/0.2123, allocations: 0.6844 MB / 0.8333 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.2123, allocations: 4.188 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.2124, allocations: 11.44 kB / 0.8333 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2124, allocations: 0 / 0.8333 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.003132/0.2155, allocations: 1.089 MB / 0.8344 GB, free: 9.242 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)