Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.814/1.814, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 187.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 0.6626 GB, free: 4.312 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 99.86 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.000474, allocations: 12 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.811, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.9977, allocations: 141.4 MB / 1.164 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.998, allocations: 74.36 kB / 1.164 GB, free: 1.984 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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. Notification: Performance of FrontEnd - DAE generated: time 0.00579/1.004, allocations: 2.108 MB / 1.167 GB, free: 472 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.004, allocations: 1.469 kB / 1.167 GB, free: 472 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.004, allocations: 0 / 1.167 GB, free: 472 kB / 0.7292 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.0003129/1.004, allocations: 350.4 kB / 1.167 GB, free: 76 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.004, allocations: 15.97 kB / 1.167 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/1.004, allocations: 4.266 kB / 1.167 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/1.004, allocations: 165.7 kB / 1.167 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.004, allocations: 8.375 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/1.004, allocations: 1.5 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/1.005, allocations: 40 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.005, allocations: 1.125 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.005, allocations: 5.469 kB / 1.167 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.005, allocations: 4.641 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/1.005, allocations: 9.078 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/1.005, allocations: 156.4 kB / 1.167 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/1.005, allocations: 29.14 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/1.005, allocations: 13.66 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/1.005, allocations: 0.6094 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.005, allocations: 58.22 kB / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/1.005, allocations: 0 / 1.167 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002334/1.006, allocations: 70.75 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.006, allocations: 52.06 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/1.006, allocations: 102.8 kB / 1.168 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/1.006, allocations: 29.7 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/1.006, allocations: 82.25 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/1.006, allocations: 8.469 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.006, allocations: 0 / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.006, allocations: 316.5 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/1.006, allocations: 9.641 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/1.006, allocations: 38.78 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/1.006, allocations: 39.53 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.006, allocations: 0 / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.753e-05/1.006, allocations: 72.66 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.006, allocations: 13.91 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.006, allocations: 0.9375 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.006, allocations: 2.578 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/1.006, allocations: 8.797 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.006, allocations: 0.7969 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/1.006, allocations: 12.81 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.006, allocations: 0 / 1.168 GB, free: 14.61 MB / 0.7448 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/1.007, allocations: 120.5 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.007, allocations: 8.734 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/1.007, allocations: 8.062 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.007, allocations: 4.234 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.007, allocations: 0.8438 kB / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.007, allocations: 0 / 1.168 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/1.007, allocations: 158.9 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.007, allocations: 0 / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/1.007, allocations: 5.859 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.007, allocations: 4.547 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.007, allocations: 0.6562 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.007, allocations: 1 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.007, allocations: 0.6562 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.007, allocations: 90.66 kB / 1.169 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/1.007, allocations: 81.66 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.007, allocations: 6.391 kB / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/1.007, allocations: 0 / 1.169 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/1.007, allocations: 5.359 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/1.007, allocations: 0.75 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.876e-05/1.007, allocations: 85.73 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.007, allocations: 0.625 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002691/1.007, allocations: 39.14 kB / 1.169 GB, free: 13.95 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003677/1.008, allocations: 175.9 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/1.008, allocations: 33.73 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.008, allocations: 2.344 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/1.008, allocations: 13.59 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/1.008, allocations: 1.875 kB / 1.169 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/1.008, allocations: 109.8 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/1.009, allocations: 0.6784 MB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.085e-05/1.009, allocations: 3 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/1.009, allocations: 11.44 kB / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.009, allocations: 0 / 1.17 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.003546/1.012, allocations: 1.149 MB / 1.171 GB, free: 12.3 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)