Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 293 MB / 309 MB, free: 4.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001134, allocations: 175.6 kB / 378.7 MB, free: 1.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 0.6383 GB, free: 8.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007695/0.0007695, allocations: 90.73 kB / 0.7527 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2663, allocations: 116.4 MB / 0.9904 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6515/0.9179, allocations: 139.2 MB / 1.126 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.9181, allocations: 74.41 kB / 1.126 GB, free: 34.49 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.00504/0.9232, allocations: 2.11 MB / 1.129 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9232, allocations: 4.125 kB / 1.129 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.9232, allocations: 0.6562 kB / 1.129 GB, free: 32.96 MB / 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.0002877/0.9235, allocations: 349.9 kB / 1.129 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9235, allocations: 8.031 kB / 1.129 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.9236, allocations: 5.469 kB / 1.129 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.9237, allocations: 171.9 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.9237, allocations: 1.281 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.9237, allocations: 384 / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.9238, allocations: 42.27 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.9238, allocations: 192 / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.9238, allocations: 4.75 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.9238, allocations: 0 / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.9238, allocations: 12 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.924, allocations: 154.1 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.587e-05/0.9241, allocations: 31.97 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.9241, allocations: 13.3 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.9241, allocations: 2.531 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.569e-05/0.9242, allocations: 58.44 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/0.9242, allocations: 0.8906 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001506/0.9244, allocations: 69.22 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.9244, allocations: 58.78 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.9245, allocations: 102 kB / 1.13 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.9245, allocations: 26.27 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.9245, allocations: 80.14 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.9245, allocations: 11.81 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9245, allocations: 4 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.9246, allocations: 318.2 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.9246, allocations: 11.94 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.9246, allocations: 36.2 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.9247, allocations: 43.38 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9247, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.744e-05/0.9248, allocations: 65.77 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9248, allocations: 12.39 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.9248, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.9248, allocations: 4 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.9249, allocations: 9.062 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.9249, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.9249, allocations: 4 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.9249, allocations: 7.703 kB / 1.13 GB, free: 31.11 MB / 0.7292 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 5.07e-05/0.925, allocations: 122.4 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.925, allocations: 11.41 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.925, allocations: 4.062 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.925, allocations: 0 / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9251, allocations: 0 / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9251, allocations: 0.6875 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.356e-05/0.9251, allocations: 157.1 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9252, allocations: 0 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.9252, allocations: 4.562 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9252, allocations: 3.938 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.9252, allocations: 4.203 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.9252, allocations: 7.938 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9252, allocations: 0 / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.899e-05/0.9253, allocations: 88.67 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.9253, allocations: 77.86 kB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.9253, allocations: 3.938 kB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.9254, allocations: 0 / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.9254, allocations: 4 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.9254, allocations: 7.922 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.375e-05/0.9254, allocations: 83.28 kB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.9254, allocations: 0 / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002242/0.9257, allocations: 36 kB / 1.131 GB, free: 30.43 MB / 0.7292 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.0002893/0.926, allocations: 171.3 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.9261, allocations: 31.36 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.9261, allocations: 0 / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.9261, allocations: 12 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.9262, allocations: 7.609 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.9265, allocations: 117.9 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.9266, allocations: 0.6767 MB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.055e-05/0.9266, allocations: 8.188 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.9266, allocations: 7.438 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9266, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.002935/0.9296, allocations: 1.154 MB / 1.133 GB, free: 28.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)