Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, 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.001088/0.001088, allocations: 197.9 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.478/1.478, 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.964/2.964, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 61.92 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3535, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003389/0.3569, allocations: 1.547 MB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3583, allocations: 0.7439 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.3584, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.3585, allocations: 3.984 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.3585, allocations: 11.86 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.3591, allocations: 103.8 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3592, allocations: 63.84 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3593, allocations: 27.91 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.329e-05/0.3594, allocations: 27.91 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.3595, allocations: 35.89 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3595, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.3597, allocations: 87.86 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.3598, allocations: 23.89 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.3598, allocations: 27.86 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.36, allocations: 135.9 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3601, allocations: 4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3601, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3601, allocations: 0 / 1.07 GB, free: 8.047 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007078/0.3608, allocations: 409 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3608, allocations: 12.03 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.3609, allocations: 8.844 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3611, allocations: 192 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.3611, allocations: 384 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3611, allocations: 4.375 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3613, allocations: 73.97 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3614, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3614, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3614, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3615, allocations: 35.97 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.3622, allocations: 324.6 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3624, allocations: 50.55 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.3625, allocations: 32.97 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3625, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.3627, allocations: 83.36 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 9.618e-06/0.3628, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004292/0.3632, allocations: 141.5 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3632, allocations: 55.41 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3634, allocations: 125.7 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.3634, allocations: 29.7 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.3634, allocations: 88.14 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3635, allocations: 15.75 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.3635, allocations: 29.7 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3637, allocations: 326.8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.3638, allocations: 31.98 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.3639, allocations: 50.48 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.364, allocations: 74.5 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.364, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.3643, allocations: 113.5 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3643, allocations: 4 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3643, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3644, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3645, allocations: 15.92 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3645, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.3646, allocations: 8.062 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3646, allocations: 11.98 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001047/0.3647, allocations: 120.9 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.3647, allocations: 11.89 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3648, allocations: 8.375 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3648, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3648, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3648, allocations: 0 / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.3653, allocations: 386.3 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3653, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.3653, allocations: 7.984 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3653, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3653, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3653, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3654, allocations: 7.938 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3656, allocations: 219.3 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3657, allocations: 85.02 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3657, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.3658, allocations: 11.92 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3659, allocations: 7.938 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3659, allocations: 4 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.3659, allocations: 91.27 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.644e-06/0.366, allocations: 0 / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000293/0.3663, allocations: 47.92 kB / 1.073 GB, free: 4.402 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000352/0.3666, allocations: 160.9 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3669, allocations: 75.89 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3669, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.367, allocations: 36.11 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3673, allocations: 11 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.3678, allocations: 190.1 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3681, allocations: 0.6888 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.3682, allocations: 7.984 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.3682, allocations: 11.44 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3682, allocations: 0 / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of Templates: time 0.004137/0.3724, allocations: 1.377 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)