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.001768/0.001768, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001743/0.001743, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.31 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3714, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002501/0.374, allocations: 1.274 MB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.3748, allocations: 416.9 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.3749, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.3749, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.375, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.3754, allocations: 79.78 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.3755, allocations: 19.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.3756, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.3756, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.3756, allocations: 11.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3756, allocations: 4 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.3758, allocations: 87.91 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.3759, allocations: 3.984 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.3759, allocations: 4 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.3761, allocations: 87.77 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3761, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3761, allocations: 0 / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3761, allocations: 0 / 1.069 GB, free: 8.891 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.0005519/0.3767, allocations: 347.5 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3767, allocations: 8.031 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.3768, allocations: 8.844 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3769, allocations: 168.6 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3769, allocations: 4.375 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3769, allocations: 4.375 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3771, allocations: 42.23 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3771, allocations: 192 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.3771, allocations: 3.938 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3771, allocations: 4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.3771, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.3773, allocations: 161.7 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.3774, allocations: 22.58 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3775, allocations: 24.94 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3775, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3777, allocations: 55.39 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3777, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.3779, allocations: 73.55 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3779, allocations: 51.41 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.378, allocations: 105.8 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.378, allocations: 29.7 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.3781, allocations: 80.14 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.3781, allocations: 11.81 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3781, allocations: 21.72 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3783, allocations: 314.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.3783, allocations: 11.94 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.433e-05/0.3783, allocations: 35.42 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.3784, allocations: 43.38 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3784, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001032/0.3785, allocations: 69.56 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3786, allocations: 7.938 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3786, allocations: 4.094 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3786, allocations: 4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.3787, allocations: 7.984 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3787, allocations: 4 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.3787, allocations: 7.938 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3787, allocations: 4 kB / 1.071 GB, free: 6.93 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.209e-05/0.3788, allocations: 109.8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3788, allocations: 7.844 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.3789, allocations: 11.92 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3789, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3789, allocations: 3.938 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3789, allocations: 7.969 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.379, allocations: 149.7 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.379, allocations: 4 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.379, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.379, allocations: 3.938 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3791, allocations: 8 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3791, allocations: 4 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3791, allocations: 0 / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3792, allocations: 85.11 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3793, allocations: 81.05 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3793, allocations: 7.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.3793, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.3793, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3793, allocations: 3.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.3794, allocations: 83.28 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.943e-06/0.3794, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002356/0.3796, allocations: 31.94 kB / 1.072 GB, free: 6.238 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.0003215/0.3799, allocations: 158.5 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.3801, allocations: 23.98 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3801, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.3801, allocations: 20.39 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.3803, allocations: 18.75 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.3806, allocations: 106.7 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3809, allocations: 0.677 MB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.381, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.381, allocations: 7.438 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.381, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.003391/0.3844, allocations: 0.9953 MB / 1.074 GB, free: 4.188 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)