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.001904/0.001905, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001822/0.001822, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 61.33 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3572, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002809/0.3601, allocations: 1.27 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008233/0.3609, allocations: 404.9 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.361, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.361, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.361, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.3617, allocations: 91.8 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.3617, allocations: 23.91 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.3618, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.3618, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.3619, allocations: 11.98 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3619, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.3621, allocations: 95.84 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3621, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.3622, allocations: 7.984 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3624, allocations: 87.75 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3624, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3624, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3624, allocations: 0 / 1.07 GB, free: 8.789 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.000482/0.3629, allocations: 339.6 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.3629, allocations: 12.03 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.363, allocations: 4.844 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3631, allocations: 168.5 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3632, allocations: 12.31 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3632, allocations: 384 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3633, allocations: 42.25 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3633, allocations: 192 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3633, allocations: 3.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3633, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.3634, allocations: 7.984 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3636, allocations: 153.7 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.3637, allocations: 34.55 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.3637, allocations: 12.86 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3637, allocations: 4 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3639, allocations: 51.5 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.777e-06/0.3639, allocations: 3.984 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002265/0.3642, allocations: 73.55 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3642, allocations: 55.41 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.3643, allocations: 101.8 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3643, allocations: 29.7 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.3644, allocations: 80.14 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.3644, allocations: 11.81 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3645, allocations: 25.7 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3646, allocations: 310.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.3646, allocations: 8 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.3647, allocations: 35.41 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.345e-05/0.3647, allocations: 47.38 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3648, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001076/0.3649, allocations: 69.61 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3649, allocations: 11.94 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3649, allocations: 4.094 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3649, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.365, allocations: 11.94 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.365, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.3651, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3651, allocations: 4 kB / 1.071 GB, free: 6.84 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.384e-05/0.3652, allocations: 109.8 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3652, allocations: 15.77 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.3652, allocations: 11.44 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3652, allocations: 8 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3652, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3653, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3654, allocations: 149.7 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3654, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3654, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3654, allocations: 7.875 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3654, allocations: 4 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3654, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3654, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3656, allocations: 89.11 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3656, allocations: 85.05 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3656, allocations: 3.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3657, allocations: 3.984 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.3657, allocations: 480 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3657, allocations: 4 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.3657, allocations: 79.27 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3658, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003387/0.3661, allocations: 39.98 kB / 1.072 GB, free: 6.137 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.0004525/0.3666, allocations: 160.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3667, allocations: 39.86 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3667, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.3668, allocations: 15.94 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3669, allocations: 4.188 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3673, allocations: 108.8 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3676, allocations: 0.6729 MB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.3677, allocations: 11.92 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.3677, allocations: 7.438 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3677, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.004474/0.3722, allocations: 0.9957 MB / 1.074 GB, free: 4.074 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)