Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008161/0.0008161, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005773/0.005773, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 14.25 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3886, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00178/0.3905, allocations: 1.208 MB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3917, allocations: 0.7208 MB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.3917, allocations: 0 / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.3917, allocations: 7.938 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.3918, allocations: 15.86 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.3923, allocations: 99.77 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.3924, allocations: 67.84 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.3925, allocations: 15.97 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.3925, allocations: 31.91 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.3926, allocations: 31.84 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3926, allocations: 4 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.3928, allocations: 95.84 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.3929, allocations: 15.91 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.3929, allocations: 53.56 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3932, allocations: 139.9 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3932, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3932, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3932, allocations: 0 / 1.077 GB, free: 5.004 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.0005608/0.3938, allocations: 413 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3938, allocations: 8.031 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3939, allocations: 8.844 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.394, allocations: 172.3 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.394, allocations: 8.359 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.394, allocations: 8.375 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3942, allocations: 73.95 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3943, allocations: 0 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3943, allocations: 0 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3943, allocations: 8 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3944, allocations: 39.97 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.3951, allocations: 324.6 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3952, allocations: 54.5 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.814e-05/0.3953, allocations: 32.97 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.3953, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.3955, allocations: 83.38 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3955, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004005/0.3959, allocations: 157.5 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.396, allocations: 63.41 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.3961, allocations: 121.8 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3961, allocations: 25.7 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.3962, allocations: 88.12 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3962, allocations: 19.75 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.3962, allocations: 21.7 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3964, allocations: 322.8 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.3964, allocations: 31.98 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.3965, allocations: 50.55 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.3967, allocations: 82.48 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3967, allocations: 0 / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.397, allocations: 117.5 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.397, allocations: 7.984 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.397, allocations: 0 / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3971, allocations: 4 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.3972, allocations: 20.06 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3972, allocations: 3.938 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.3973, allocations: 15.89 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3973, allocations: 0 / 1.079 GB, free: 2.418 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 8.865e-05/0.3974, allocations: 121.8 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.3974, allocations: 3.938 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.3974, allocations: 16.36 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3974, allocations: 4 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3974, allocations: 0 / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3974, allocations: 3.938 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.3979, allocations: 394.3 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3979, allocations: 0 / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.398, allocations: 7.984 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.398, allocations: 4 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.398, allocations: 3.984 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.398, allocations: 4 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.398, allocations: 3.938 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3983, allocations: 207.5 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.3984, allocations: 85.02 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3984, allocations: 11.92 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.3985, allocations: 4 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3986, allocations: 11.92 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3986, allocations: 4 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.3986, allocations: 91.27 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3986, allocations: 0 / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003051/0.3989, allocations: 36 kB / 1.08 GB, free: 1.32 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.0003263/0.3993, allocations: 164 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.3995, allocations: 79.83 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3995, allocations: 0 / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3997, allocations: 44.11 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.3999, allocations: 9.484 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.4003, allocations: 209 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4006, allocations: 0.6888 MB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.4006, allocations: 7.984 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.4006, allocations: 11.44 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4007, allocations: 4 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of Templates: time 0.004045/0.4047, allocations: 1.355 MB / 1.082 GB, free: 14.71 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)