Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 193 kB / 499.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 110.9 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 54.31 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2559, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002383/0.2583, allocations: 1.554 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2597, allocations: 0.7254 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.2597, allocations: 0 / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.219e-05/0.2598, allocations: 3.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.2599, allocations: 3.938 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.2605, allocations: 119.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2607, allocations: 63.78 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2608, allocations: 15.98 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2609, allocations: 31.84 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.261, allocations: 39.83 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.261, allocations: 4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.2612, allocations: 91.91 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.2613, allocations: 7.984 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.2613, allocations: 31.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2616, allocations: 141.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2616, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2616, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2616, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 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.0006295/0.2622, allocations: 420.9 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2623, allocations: 11.98 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.2623, allocations: 8.844 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2624, allocations: 176.3 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2625, allocations: 4.375 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.2625, allocations: 8.359 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.2627, allocations: 69.97 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2627, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2627, allocations: 0 / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2627, allocations: 4 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.2629, allocations: 39.91 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/0.2637, allocations: 324.6 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2638, allocations: 42.56 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.2639, allocations: 32.97 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.2639, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.2643, allocations: 87.31 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2643, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0004564/0.2648, allocations: 141.7 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2648, allocations: 51.41 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2649, allocations: 121.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.265, allocations: 29.7 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.265, allocations: 96.12 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.2651, allocations: 11.81 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.2651, allocations: 37.58 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.2652, allocations: 318.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.2653, allocations: 31.91 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.2654, allocations: 50.56 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2655, allocations: 70.55 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2655, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001973/0.2658, allocations: 113.5 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2658, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2658, allocations: 8.062 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.2658, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.2659, allocations: 15.92 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2659, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.266, allocations: 11.94 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.266, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 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.0001116/0.2662, allocations: 118.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.2662, allocations: 15.88 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.2662, allocations: 16.38 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2662, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2662, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2663, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.2666, allocations: 382.4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2666, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.2667, allocations: 4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2667, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2667, allocations: 11.98 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2667, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2667, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.2672, allocations: 0.7868 MB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.2673, allocations: 89.03 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2673, allocations: 7.938 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.2674, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.2674, allocations: 11.92 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2674, allocations: 8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.2675, allocations: 91.27 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2675, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003875/0.2679, allocations: 36 kB / 1.225 GB, free: 110.1 MB / 0.823 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.0004328/0.2683, allocations: 167.3 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2686, allocations: 71.89 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2686, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.2687, allocations: 31.98 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2689, allocations: 15.92 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.2694, allocations: 321 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2696, allocations: 0.6887 MB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.2697, allocations: 8 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.2697, allocations: 11.42 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.2697, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of Templates: time 0.00358/0.2733, allocations: 1.406 MB / 1.227 GB, free: 107.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)