Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, 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.001317/0.001317, allocations: 190 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.66 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4232, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002698/0.426, allocations: 1.282 MB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.4272, allocations: 456.8 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.4272, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.4273, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.4273, allocations: 7.984 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.4279, allocations: 87.73 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.4279, allocations: 15.98 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.428, allocations: 7.984 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.428, allocations: 4 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.4281, allocations: 11.92 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.4281, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.4284, allocations: 103.8 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.4285, allocations: 7.938 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.4285, allocations: 15.92 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.4287, allocations: 91.81 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4287, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4287, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4288, allocations: 0 / 1.07 GB, free: 8.828 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.0007546/0.4295, allocations: 385.4 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4296, allocations: 12.03 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.4296, allocations: 0.9375 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4298, allocations: 180.2 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4298, allocations: 384 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.4298, allocations: 8.312 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.43, allocations: 42.23 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.43, allocations: 192 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.43, allocations: 3.938 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.43, allocations: 4 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.4301, allocations: 7.984 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.4303, allocations: 153.7 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.4304, allocations: 34.61 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.4304, allocations: 16.84 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.4304, allocations: 0 / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4306, allocations: 51.41 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4306, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002199/0.4308, allocations: 73.55 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4309, allocations: 59.41 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.431, allocations: 105.8 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.431, allocations: 29.7 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.431, allocations: 84.12 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.4311, allocations: 23.67 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.4311, allocations: 21.72 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4312, allocations: 310.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.4313, allocations: 15.98 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.4313, allocations: 31.44 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.4314, allocations: 47.36 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4314, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.4315, allocations: 65.62 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4315, allocations: 11.94 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4315, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4316, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.4316, allocations: 11.94 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4317, allocations: 3.984 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.4317, allocations: 8 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4317, allocations: 0 / 1.071 GB, free: 6.801 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 0.0001013/0.4318, allocations: 113.9 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4318, allocations: 7.844 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.4319, allocations: 11.91 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4319, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4319, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4319, allocations: 240 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.4322, allocations: 157.7 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4322, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.4322, allocations: 4 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4322, allocations: 7.922 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4322, allocations: 3.938 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4322, allocations: 8.188 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4323, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.4325, allocations: 85.11 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.4326, allocations: 81.02 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4326, allocations: 7.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.4326, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.4327, allocations: 3.984 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4327, allocations: 8 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.339e-05/0.4328, allocations: 83.28 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.064e-06/0.4328, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002839/0.433, allocations: 39.92 kB / 1.072 GB, free: 6.082 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.0003855/0.4334, allocations: 157.9 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.4336, allocations: 31.92 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4336, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.4336, allocations: 15.94 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.4338, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.4341, allocations: 118.6 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.4345, allocations: 0.677 MB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.4345, allocations: 8.188 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.507e-05/0.4346, allocations: 7.438 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4346, allocations: 3.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.003768/0.4383, allocations: 1.074 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)