Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008053, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004895/0.004895, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.034/3.034, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 9.281 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001316/0.3675, allocations: 0.9431 MB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.3683, allocations: 405.1 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.3684, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.3684, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.3684, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.3689, allocations: 83.78 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.694e-05/0.3689, allocations: 4 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.369, allocations: 7.984 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.369, allocations: 11.94 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.369, allocations: 7.984 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.369, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3692, allocations: 91.84 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3693, allocations: 3.938 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3693, allocations: 33.7 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3695, allocations: 83.81 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3695, allocations: 0 / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.687e-06/0.3695, allocations: 4 kB / 1.076 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3695, allocations: 0 / 1.076 GB, free: 5.809 MB / 0.8262 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.0003817/0.3699, allocations: 339.6 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3699, allocations: 12.03 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.37, allocations: 4.844 kB / 1.076 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3701, allocations: 168.5 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3701, allocations: 8.375 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3701, allocations: 4.359 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3702, allocations: 46.23 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3703, allocations: 4.125 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3703, allocations: 7.875 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3703, allocations: 0 / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.3703, allocations: 12 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.3705, allocations: 153.7 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.3706, allocations: 30.55 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.3706, allocations: 12.86 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.3706, allocations: 0 / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.3707, allocations: 59.48 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3707, allocations: 0 / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001814/0.3709, allocations: 69.56 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.371, allocations: 59.39 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.3711, allocations: 97.86 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3711, allocations: 25.7 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.3711, allocations: 80.14 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3712, allocations: 19.8 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.3712, allocations: 13.7 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.3713, allocations: 318.8 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.3713, allocations: 8 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.3714, allocations: 31.42 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.615e-05/0.3714, allocations: 51.38 kB / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3714, allocations: 0 / 1.077 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.911e-05/0.3715, allocations: 65.61 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3716, allocations: 11.94 kB / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3716, allocations: 0 / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3716, allocations: 0 / 1.077 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.3716, allocations: 12.36 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3717, allocations: 0 / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.3717, allocations: 4 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3717, allocations: 4.094 kB / 1.077 GB, free: 3.859 MB / 0.8262 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.234e-05/0.3718, allocations: 117.8 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3718, allocations: 3.938 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.3718, allocations: 7.5 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3719, allocations: 3.984 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3719, allocations: 0 / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3719, allocations: 0 / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.372, allocations: 161.5 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.372, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.372, allocations: 8 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.372, allocations: 7.875 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.372, allocations: 0 / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.372, allocations: 0 / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3721, allocations: 3.938 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3722, allocations: 85.11 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.3722, allocations: 81.05 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3722, allocations: 11.92 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.3723, allocations: 4 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3723, allocations: 4 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3723, allocations: 0 / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.3723, allocations: 79.28 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 0 / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.3726, allocations: 31.98 kB / 1.078 GB, free: 3.16 MB / 0.8262 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.0003109/0.3729, allocations: 155.4 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.026e-05/0.373, allocations: 32.09 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.373, allocations: 0 / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.3731, allocations: 15.94 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3732, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.3734, allocations: 118.6 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3737, allocations: 0.6772 MB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.3737, allocations: 7.984 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.3737, allocations: 7.438 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3737, allocations: 4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.003216/0.377, allocations: 0.984 MB / 1.08 GB, free: 1.113 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)