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.009092/0.009092, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.00139/0.00139, allocations: 199.2 kB / 16.68 MB, free: 5.91 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.475/1.475, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.715/1.715, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001595/0.001595, allocations: 75.91 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002536/0.2336, allocations: 1.226 MB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.2345, allocations: 451.7 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.2346, allocations: 7.938 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.2347, allocations: 0 / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.2347, allocations: 7.938 kB / 0.8297 GB, free: 14.54 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.0006845/0.2354, allocations: 103.6 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.2355, allocations: 27.86 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.2356, allocations: 0 / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.2356, allocations: 11.98 kB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.2356, allocations: 7.938 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2357, allocations: 0 / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.2359, allocations: 111.8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2359, allocations: 3.984 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.236, allocations: 15.92 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2362, allocations: 95.81 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2362, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2362, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2362, allocations: 0 / 0.83 GB, free: 14.17 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.0004976/0.2367, allocations: 385 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2368, allocations: 12.03 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.2368, allocations: 4.844 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2369, allocations: 168.4 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.237, allocations: 8.375 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.237, allocations: 8.312 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2371, allocations: 34.25 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2371, allocations: 4.172 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2371, allocations: 3.938 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2371, allocations: 0 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.2372, allocations: 4 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2373, allocations: 161.6 kB / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.2374, allocations: 30.61 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.2375, allocations: 20.8 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.2375, allocations: 3.984 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.2377, allocations: 55.48 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2377, allocations: 3.938 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002191/0.2379, allocations: 73.52 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.238, allocations: 63.34 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.2381, allocations: 105.8 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2381, allocations: 25.7 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.2381, allocations: 84.14 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2382, allocations: 7.906 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.2382, allocations: 17.72 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2383, allocations: 318.8 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.2383, allocations: 4 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.2384, allocations: 43.41 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.2385, allocations: 43.38 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2385, allocations: 4 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001158/0.2386, allocations: 69.59 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2386, allocations: 11.94 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2386, allocations: 0 / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2386, allocations: 3.984 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.2387, allocations: 11.94 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2387, allocations: 3.938 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.2388, allocations: 4.25 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2388, allocations: 0 / 0.8317 GB, free: 12.15 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 8.204e-05/0.2389, allocations: 117.8 kB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2389, allocations: 11.97 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2389, allocations: 7.891 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2389, allocations: 0 / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.239, allocations: 0 / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.239, allocations: 0 / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2391, allocations: 153.7 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2391, allocations: 4 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.2391, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2391, allocations: 3.938 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2391, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2391, allocations: 4 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2392, allocations: 4 kB / 0.832 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.2393, allocations: 88.95 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.2393, allocations: 77.11 kB / 0.8322 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2394, allocations: 11.92 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.2394, allocations: 4 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.2394, allocations: 0 / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2394, allocations: 4.281 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.98e-05/0.2395, allocations: 87.27 kB / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2395, allocations: 0 / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002626/0.2397, allocations: 43.88 kB / 0.8323 GB, free: 11.43 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.0003148/0.2401, allocations: 156 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2402, allocations: 31.92 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2402, allocations: 8.125 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.2403, allocations: 15.97 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.2404, allocations: 8 kB / 0.8325 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.2407, allocations: 124.1 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2409, allocations: 0.6805 MB / 0.8333 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.2409, allocations: 4 kB / 0.8333 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.2409, allocations: 7.438 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.241, allocations: 4 kB / 0.8333 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003773/0.2447, allocations: 1.094 MB / 0.8344 GB, free: 9.266 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)