Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001217/0.001218, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001226, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.67 kB / 0.912 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3363, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002597/0.339, allocations: 1.222 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.3399, allocations: 412.8 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.3399, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.34, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.34, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3406, allocations: 99.64 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.3407, allocations: 19.94 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.3408, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.3408, allocations: 15.91 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.3408, allocations: 8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3409, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3411, allocations: 91.89 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.3411, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.3411, allocations: 11.94 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3413, allocations: 87.75 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3414, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3414, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3414, allocations: 0 / 1.07 GB, free: 8.543 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.0005216/0.3419, allocations: 343.6 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3419, allocations: 8.031 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.342, allocations: 8.844 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3421, allocations: 168.6 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3421, allocations: 384 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3422, allocations: 8.359 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3423, allocations: 38.25 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3423, allocations: 192 / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3423, allocations: 3.938 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3423, allocations: 4 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.3424, allocations: 11.88 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3425, allocations: 157.6 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.3426, allocations: 30.61 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.3427, allocations: 12.86 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3427, allocations: 4 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.3428, allocations: 55.48 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3428, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001957/0.343, allocations: 73.55 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3431, allocations: 51.41 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.3431, allocations: 102 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3432, allocations: 33.7 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.3432, allocations: 80.14 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3432, allocations: 15.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3433, allocations: 21.72 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3434, allocations: 310.8 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.3434, allocations: 11.98 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.3434, allocations: 31.44 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.3435, allocations: 47.36 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3435, allocations: 0 / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.3436, allocations: 69.56 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3436, allocations: 9.812 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3437, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3437, allocations: 8.094 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.3437, allocations: 4 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3438, allocations: 4 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.3438, allocations: 7.984 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3438, allocations: 4 kB / 1.072 GB, free: 6.59 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 7.476e-05/0.3439, allocations: 114.3 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.3439, allocations: 11.84 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.3439, allocations: 7.5 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3439, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3439, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.344, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.3441, allocations: 157.7 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3441, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.3441, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3441, allocations: 11.86 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3441, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3441, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3441, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.3442, allocations: 81.12 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3443, allocations: 85.03 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3443, allocations: 11.88 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.3443, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.3444, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3444, allocations: 3.938 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.3444, allocations: 87.27 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3444, allocations: 0 / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002502/0.3447, allocations: 24 kB / 1.072 GB, free: 5.895 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.000311/0.345, allocations: 162.3 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.3451, allocations: 27.92 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3451, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.3451, allocations: 15.98 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3453, allocations: 6.672 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.3455, allocations: 104.8 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.3457, allocations: 0.6768 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3458, allocations: 4 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.3458, allocations: 7.438 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3458, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.003301/0.3491, allocations: 1.011 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)