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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 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.001125/0.001125, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.498/1.498, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00163/0.00163, allocations: 69.28 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.003156/0.2428, allocations: 1.229 MB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.244, allocations: 443.4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2441, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.2441, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.2442, allocations: 7.938 kB / 0.785 GB, free: 11.81 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.0007818/0.2449, allocations: 115.6 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.245, allocations: 19.94 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.2451, allocations: 3.984 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.2451, allocations: 8 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.2452, allocations: 15.91 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.2452, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2455, allocations: 107.8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2456, allocations: 7.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2456, allocations: 11.94 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2458, allocations: 95.8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2459, allocations: 3.938 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2459, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2459, allocations: 0 / 0.7854 GB, free: 11.42 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.0006094/0.2465, allocations: 381.4 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2466, allocations: 12.03 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.2466, allocations: 0.9375 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2468, allocations: 168.3 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.2468, allocations: 12.3 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2468, allocations: 384 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.247, allocations: 42.25 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.247, allocations: 192 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.247, allocations: 3.938 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2471, allocations: 0 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.2471, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.2473, allocations: 161.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2475, allocations: 34.5 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.2476, allocations: 16.94 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.2476, allocations: 4 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.2478, allocations: 51.41 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.2478, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002978/0.2481, allocations: 69.61 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2482, allocations: 59.34 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2483, allocations: 109.8 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2484, allocations: 33.7 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.2484, allocations: 84.14 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2485, allocations: 7.844 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.2485, allocations: 25.7 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2487, allocations: 318.8 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.2487, allocations: 4 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.2488, allocations: 39.41 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2489, allocations: 47.38 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.249, allocations: 0 / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001829/0.2492, allocations: 69.61 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2492, allocations: 11.94 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2492, allocations: 96 / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2493, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.2494, allocations: 11.94 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2494, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.2494, allocations: 7.906 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.2495, allocations: 3.938 kB / 0.7871 GB, free: 9.402 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 0.0001195/0.2496, allocations: 118.1 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.2496, allocations: 3.938 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.2497, allocations: 7.906 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2497, allocations: 8 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2497, allocations: 0 / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2497, allocations: 0 / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.2499, allocations: 157.7 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2499, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.25, allocations: 7.984 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.25, allocations: 3.938 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.25, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.25, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.25, allocations: 0 / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.2502, allocations: 93.05 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2503, allocations: 81.3 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.2504, allocations: 7.938 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.2504, allocations: 4 kB / 0.7876 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2504, allocations: 3.984 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2505, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.2505, allocations: 87.27 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2506, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004786/0.251, allocations: 32 kB / 0.7877 GB, free: 8.695 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.0005186/0.2516, allocations: 168.2 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2518, allocations: 27.92 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2518, allocations: 0 / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.2519, allocations: 11.94 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2522, allocations: 18.53 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.2526, allocations: 112.9 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.253, allocations: 0.6768 MB / 0.7887 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2531, allocations: 4.25 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.2531, allocations: 7.438 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2531, allocations: 0 / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.00603/0.2592, allocations: 1.093 MB / 0.7897 GB, free: 6.539 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)