Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 308.1 MB, free: 4.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001533, allocations: 184.5 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 0.6354 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 104.6 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3137, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003392/0.3171, allocations: 1.397 MB / 0.9836 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.318, allocations: 367.8 kB / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.3181, allocations: 4 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3182, allocations: 11.92 kB / 0.9839 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.42e-05/0.3183, allocations: 3.984 kB / 0.9839 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3188, allocations: 71.8 kB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.3189, allocations: 39.92 kB / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.319, allocations: 11.98 kB / 0.9841 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.319, allocations: 19.92 kB / 0.9841 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.3191, allocations: 11.98 kB / 0.9841 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3191, allocations: 4 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.3193, allocations: 75.84 kB / 0.9842 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.3194, allocations: 31.86 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.3195, allocations: 43.75 kB / 0.9842 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.3197, allocations: 159.5 kB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3198, allocations: 4 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3198, allocations: 0 / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3198, allocations: 0 / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006593/0.3204, allocations: 0.5172 MB / 0.9849 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3205, allocations: 8.031 kB / 0.9849 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.3206, allocations: 16.75 kB / 0.9849 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3208, allocations: 176.2 kB / 0.9851 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3208, allocations: 384 / 0.9851 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3209, allocations: 4.375 kB / 0.9851 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3212, allocations: 245.9 kB / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3212, allocations: 192 / 0.9853 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3212, allocations: 7.938 kB / 0.9853 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3212, allocations: 0 / 0.9853 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3214, allocations: 147.9 kB / 0.9855 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.3216, allocations: 197.4 kB / 0.9857 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.3221, allocations: 0.5301 MB / 0.9862 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.3225, allocations: 0.5245 MB / 0.9867 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.3225, allocations: 4 kB / 0.9867 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.323, allocations: 399.7 kB / 0.9871 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 4.018e-06/0.323, allocations: 0 / 0.9871 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0008334/0.3239, allocations: 0.6818 MB / 0.9878 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.324, allocations: 109.1 kB / 0.9879 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.3241, allocations: 101.8 kB / 0.988 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3241, allocations: 29.7 kB / 0.988 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3241, allocations: 88.83 kB / 0.9881 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.3242, allocations: 78.84 kB / 0.9881 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.3243, allocations: 33.7 kB / 0.9882 GB, free: 4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3244, allocations: 326.8 kB / 0.9885 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3245, allocations: 79.97 kB / 0.9886 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.3246, allocations: 87.97 kB / 0.9886 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3249, allocations: 357.3 kB / 0.989 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.325, allocations: 0 / 0.989 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003614/0.3253, allocations: 336.1 kB / 0.9893 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.3254, allocations: 85.64 kB / 0.9894 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3254, allocations: 4 kB / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3255, allocations: 0 / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.3255, allocations: 0 / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3255, allocations: 0 / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3257, allocations: 15.84 kB / 0.9894 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3257, allocations: 12 kB / 0.9894 GB, free: 2.684 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002522/0.3259, allocations: 265.7 kB / 0.9897 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.326, allocations: 27.75 kB / 0.9897 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.326, allocations: 13.2 kB / 0.9897 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.326, allocations: 0 / 0.9897 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.326, allocations: 0 / 0.9897 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.326, allocations: 3.938 kB / 0.9897 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3263, allocations: 241.4 kB / 0.9899 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3263, allocations: 0 / 0.9899 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.3263, allocations: 7.875 kB / 0.99 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3263, allocations: 3.938 kB / 0.99 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.3263, allocations: 12 kB / 0.99 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3263, allocations: 3.984 kB / 0.99 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3263, allocations: 4 kB / 0.99 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3283, allocations: 2.101 MB / 0.992 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.3284, allocations: 96.86 kB / 0.9921 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3285, allocations: 71.95 kB / 0.9922 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.3285, allocations: 8 kB / 0.9922 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3286, allocations: 11.98 kB / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3286, allocations: 11.94 kB / 0.9922 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.3287, allocations: 91.3 kB / 0.9923 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 0 / 0.9923 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004284/0.3291, allocations: 68 kB / 0.9924 GB, free: 15.52 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0005478/0.3297, allocations: 244.1 kB / 0.9926 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001748/0.3314, allocations: 1.967 MB / 0.9945 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3315, allocations: 64 / 0.9945 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.333, allocations: 2.022 MB / 0.9965 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3333, allocations: 16 kB / 0.9965 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.3341, allocations: 0.5896 MB / 0.9971 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3345, allocations: 0.7286 MB / 0.9978 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.3345, allocations: 0 / 0.9978 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.3345, allocations: 7.438 kB / 0.9978 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.3346, allocations: 0 / 0.9978 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.006053/0.3406, allocations: 2.609 MB / 1 GB, free: 7.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)